Fixed bug due to sorting of weeks for the statistics page