fix move ranking sort