Fixed sorting of maps and mods.