Word tasks · Organizing
Sort a list or a table alphabetically in Word
Alphabetizing by hand is slow and easy to get wrong past about twenty entries — Word sorts a list or a whole table in seconds, keeping each table row together as it moves. This guide sorts a plain, bulleted or numbered list, then a table by one or more columns, with the right type chosen for numbers and dates so they land in real order instead of character order.
Sort a list alphabetically
Word sorts by paragraph: each item that ends with Enter is one sortable unit, whether it is a plain line, a bullet or a numbered item. Microsoft documents this route in its help on sorting a list alphabetically in Word for a one-level bulleted or numbered list.
- Select only the list. Drag across every item you want sorted, and nothing else. Leave out the heading above the list and any blank lines — anything selected gets sorted along with the items.
- Open Home > Sort. On the Home tab, in the Paragraph group, select Sort — the button showing an A above a Z with a down arrow. The Sort Text dialog opens.
- Set Sort by to Paragraphs and Type to Text. Those two settings tell Word to order the selected paragraphs by their wording.
- Choose Ascending or Descending. Ascending is A to Z; Descending is Z to A.
- Select OK. The items rearrange immediately. In a numbered list, the numbers stay in sequence — Word renumbers so item 1 is still first; it is the items that moved.
Sorting treats every paragraph as an equal item, so in a multilevel list an indented sub-item can be sorted away from the item it belongs to. Sort a multilevel list one level at a time — select just the sub-items under one parent and sort those — or accept a flat, one-level result.
Sort a table by a column
Table sorting moves whole rows, so a name never gets separated from its own role, date or amount. Microsoft covers this in its help on sorting the contents of a table.
- Click anywhere in the table. The Table Design and Layout tabs appear. You do not need to select the whole table to sort all of it.
- Open Layout > Sort. On the table Layout tab — the one beside Table Design — select Sort in the Data group. The Sort dialog opens.
- Tell Word whether there is a header row. At the bottom of the dialog, under My list has, choose Header row if the first row holds column titles, or No header row if every row is data. With Header row chosen, the titles stay at the top and the Sort by list names your columns by their headings.
- Choose the column, type and order. Under Sort by, pick the column to sort on, set Type to Text for alphabetical order, and choose Ascending or Descending.
- Add a tie-breaker if you need one. Under Then by, pick a second column for rows that tie on the first — last name, then first name is the classic pair. Word allows up to three levels in total.
- Select OK. The rows reorder, each row keeping its own cells together.
Sort numbers and dates correctly
The Type setting decides what "in order" means, and Text is only right for words. Sorted as text, numbers order by their first character, so 10 and 100 come before 2. In the same Sort dialog, set Type to Number for quantities, prices and counts, and Word orders by value. Set Type to Date for a column of dates, and Word orders chronologically instead of alphabetically by month name. The same three types — Text, Number and Date — are available for lists and for tables, and each Then by level carries its own type, so a table can sort by a text column first and a date column second.
One more option is worth knowing: select Options in the Sort dialog to make the sort case sensitive, or — for text separated by tabs or commas rather than held in a table — to tell Word what separates the fields inside each paragraph.
End state
- The list or table runs in the order you chose — A to Z or Z to A — from the first item to the last, with no stragglers left in their old positions.
- Every table row kept its own cells together, and the header row, if there is one, is still at the top and was not sorted into the data.
- Numbers run in value order and dates in chronological order, because their Type was set to Number or Date rather than Text.
When it goes wrong
- The heading got sorted into the list. It was inside your selection. Undo with Ctrl+Z, reselect starting at the first item, and sort again.
- The table headings ended up in the middle of the data. My list has was set to No header row. Undo, reopen Sort, choose Header row, and sort again.
- Numbers are in a strange order — 1, 10, 100, 2. They were sorted as Text. Undo and repeat the sort with Type set to Number.
- Only one column moved and the rows are scrambled. That happens when a single column was selected and Sort column only was in effect. Undo immediately; then click in the table without selecting a column and sort again so whole rows move.
- There is no Sort button for the list. Word for the web has limited sorting support for lists. Open the document in the desktop app, where Home > Sort is available.
Related document tasks
-
Turn a bulleted list into a table in Word, and a table back into text
A list that has outgrown bullets — names with roles, items with prices, tasks with owners — reads far better as a table, and Word can build that table from the list in one command instead of making you retype every entry.
-
Create and format a table in Word
A table turns a wall of figures, dates or names into something a reader can scan in seconds — a price list, a schedule, a comparison.
-
Set tab stops and dot leaders in Word for a contents-style list
A hand-typed contents list — chapter name, a row of typed periods, a page number that almost lines up — falls apart the moment anything changes.
-
Create mailing labels in Word from an address list
Print one label or a full sheet with Mailings > Labels, and merge a whole Excel or contacts list onto label sheets with Start Mail Merge > Labels in Word.
Sources
- Microsoft Support, Sort a list alphabetically in Word — selecting a one-level bulleted or numbered list, Home > Sort, Sort by Paragraphs with Type set to Text, and Ascending or Descending order.
- Microsoft Support, Sort the contents of a table — Layout > Sort, the header row choice, Sort by column with Text, Number or Date types, up to three sort levels, and the Options settings.