fix timer avgtime sorting bug