Order navbar menu items according to their weight