Sort menu entries