[xmonad] Select grid shape and sort elements for XMonad.Actions.GridSelect