Sort Lists, Tables, and Files in Word and Windows
Question details
The user wants to sort Word lists and table rows, as well as files by name or other details, in ascending or descending order.

- Product
- Microsoft Word and Windows File Explorer
- Device & OS
- not provided
- Scenario
- Organizing document content or browsing files in a chosen order.
- Observed behavior
- Lists, table rows, or files should appear in the selected ascending or descending order.
Identify whether you are sorting a Word list, a table, or files in a folder. For a table, decide which column should determine the order and whether the first row is a header.
Sort a list in Microsoft Word
Use Word's Sort command to arrange selected list items alphabetically.
In Word, select the list items you want to sort.
Go to Home and select Sort in the Paragraph group.
In the Sort Text dialog, choose Paragraphs and Text, then select Ascending or Descending and click OK.

Sort table rows in Microsoft Word
Sort an entire table by one column while keeping each row together.
Sort files in Windows File Explorer
Arrange files by name, date, type, or another available detail.
Sort a list with WPS Spreadsheets
Use WPS Spreadsheets to sort a simple list, then copy the ordered items back into your document. Use File Explorer separately to sort files in a folder.
- 1. Copy the list: In WPS Writer, select the list items and press Ctrl+C.
- 2. Paste into a spreadsheet: Open WPS Spreadsheets, select cell A1, and press Ctrl+V so each item occupies a separate row.
- 3. Sort the items: Select the pasted cells, open Data > Sort, and choose ascending or descending order.
- 4. Return the sorted list: Copy the sorted cells, return to WPS Writer, and paste them over the original list. Check the formatting after pasting.

Frequently Asked Questions
How do I sort a Word list from Z to A?
Select the list, choose Home > Sort, and select Descending in the Sort Text dialog.
How can I keep a table's header out of the sort?
In Word, open Table Tools > Layout > Sort and specify that the table has a header row before clicking OK.
Can I sort files by date instead of name?
Yes. In File Explorer, choose View > Details and click the Date modified heading. Click it again to reverse the order.
Can I sort numbers rather than text in Word?
Yes. Select the list or table, open Sort, and choose Number as the data type before selecting ascending or descending order.




