Ensure submodules and rev numbers have always the same sort order