RootMoveList sorting: be compatible with std::sort