sort stats by date