Fix groupings label sort

Hi,

I want to fix sorting the chart grouping labels [1] and came up with two
solutions:

extend [2] to look on all labels and not only on CF labels

as far as I see there are only Date fields where the label sorting have
to be fixed so decide in [3] based on the SubFields if we sort ‘raw’ or
‘numeric raw’

Is there something that speaks for or against one of the solutions?

Chris

[1] Login
[2] Sort chart label values numerically if they all look like numbers · bestpractical/rt@83f0973 · GitHub
[3]
rt/Tickets.pm at stable · bestpractical/rt · GitHub