Fix scale bin sorting for muon pt/upt
Scale bins are sorted by minimum value for all scales, however this produces non-deterministic results for muon pt/upt scales with special inactive first bin when applying std::sort
algorithm [1] (two items with same value of zero).
[
{"hw_index": 0, "minimum": 0.0, "maximum": 0.0},
{"hw_index": 1, "minimum": 0.0, "maximum": 0.5},
{"hw_index": 2, "minimum": 1.0, "maximum": 1.0},
...
]
To overcome this problem all scales could be sorted by hw_index instead of minimum value with exception of Eta scales that use a two's complement as index.