Looking at the results, these values are being treated as "strings", and the sorting will behave differently. Adjust the data query so it is stored as or returns Integers. The data should appear like: [15.0, 40.0, 100.0, 112.0, 114.0] without the quotes for each value.