You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now, the source cpu-10 comes before cpu-2. In general, whenever there's a number in the middle of a source or metric, it should be sorted numerically rather than lexicographically.
There are all sorts of names for this kind of scheme, and "version" sorting is sometimes used instead of "natural" sorting. But either way, this would be nice to have!
The text was updated successfully, but these errors were encountered:
Presumably, it could be done with a fancy ORDER BY expression, or alternatively, a column with a pre-normalised value that can be sorted lexicographically. I'd offer to help code a solution but don't want to offer something that might be incompatible with the next-version changes you have in store.
Right now, the source
cpu-10
comes beforecpu-2
. In general, whenever there's a number in the middle of a source or metric, it should be sorted numerically rather than lexicographically.There are all sorts of names for this kind of scheme, and "version" sorting is sometimes used instead of "natural" sorting. But either way, this would be nice to have!
The text was updated successfully, but these errors were encountered: