sort is now a method of xdg.Menu.Menu