display stats in the sorted order of average duration