`datapoints.keys.toList.sorted` instead of `sortBy`