GCP-5360: fixed sorting of numeric values in general.
(side effect, ".0" is displayed at the end of integer values)