Sort table of contents vertically instead of horizontally.