change the sort by average time