Statistics, fix error(wrong sort)