Sort menu items according to priority descending, then title ascending