sorting the stats