Add sorting for group menu items