Simplify code of mainmenu world sort, seems to avoid a bug that occured ...

...sometimes.