fixing sort in stats...