sort the data series