Sort divisions.