[#67992468] fixed bugs on sorting