Ranked top to bottom, left to right.
Drag to rank. Click multiple to select a group, then drag them together.