Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Welcome to the Power Users community on Codidact!

Power Users is a Q&A site for questions about the usage of computer software and hardware. We are still a small site and would like to grow, so please consider joining our community. We are looking forward to your questions and answers; they are the building blocks of a repository of knowledge we are building together.

Post History

66%
+2 −0
Q&A In Word, how do I readily sort a string of numbers separated by commas?

The Sort Text function shown in the snapshot is intended to sort lists. In Microsoft Word, a list has each element member in a new line (paragraph). Considering this: Convert the numbers separat...

posted 11mo ago by Wicket‭  ·  edited 11mo ago by Wicket‭

Answer
#4: Post edited by user avatar Wicket‭ · 2023-06-18T23:35:01Z (11 months ago)
  • The Sort Text function shown in the snapshot is intended to sort lists. In Microsoft Word, a list has each element member in a new line (paragraph). Considering this:
  • 1. Convert the numbers separated by commas into a list.
  • This could be done by using search and replace, replacing the commas and spaces with a paragraph mark. Use `^p` in the replace text box for a paragraph in the search and replace dialog.
  • 2. Select the list
  • 3. Open Sort text
  • 4. Verify that the options are Paragraphs, Number and Ascending, then click OK.
  • 5. If needed, replace the paragraph marks with commas and spaces. Use `^p` in the find text box for a paragraph in the search and replace dialog.
  • NOTES:
  • While the default view is the Print Layout view, working on it might make it difficult to identify when a line is caused by a paragraph, a line break, page margins or other objects.
  • The Sort Text function shown in the snapshot is intended to sort lists. In Microsoft Word, a list has each element member in a new line (paragraph). Considering this:
  • 1. Convert the numbers separated by commas into a list.
  • This could be done by using search and replace, replacing the commas and spaces with a paragraph mark. Use `^p` in the replace text box for a paragraph in the search and replace dialog.
  • 2. Select the list
  • 3. Open Sort text
  • 4. Verify that the options are Paragraphs, Number and Ascending, then click OK.
  • 5. If needed, replace the paragraph marks with commas and spaces. Use `^p` in the find text box for a paragraph in the search and replace dialog.
  • NOTES:
  • While the default view is the Print Layout view, working on it might make it difficult to identify when a line is caused by a paragraph, a line break, page margins or other objects.
  • I'm not including screenshots as I'm using Word for Mac. The dialogs are different but the Sort Text feature work the same way. On the other hand, the official help article already includes snapshots, and it's available for three platforms Windows, Mac and Web : [Sort a list alphabetically in Word](https://support.microsoft.com/en-us/office/sort-a-list-alphabetically-in-word-4d27ca57-6d64-4229-82f8-a0a1a805d494).
#3: Post edited by user avatar Wicket‭ · 2023-06-18T23:30:10Z (11 months ago)
  • The Sort Text function shown in the snapshot is intended to sort lists. In Microsoft Word, a list has each element member in a new line. Considering this
  • 1. Convert the numbers separated by commas into a list.
  • This could be done by using search and replace, replacing the commas and spaces with a paragraph mark. Use `^p` in the replace text box for a paragraph in the search and replace dialog.
  • 2. Select the list
  • 3. Open Sort text
  • 4. Verify that the options are Paragraphs, Number and Ascending, then click OK.
  • 5. If needed, replace the paragraph marks with commas and spaces. Use `^p` in the find text box for a paragraph in the search and replace dialog.
  • The Sort Text function shown in the snapshot is intended to sort lists. In Microsoft Word, a list has each element member in a new line (paragraph). Considering this:
  • 1. Convert the numbers separated by commas into a list.
  • This could be done by using search and replace, replacing the commas and spaces with a paragraph mark. Use `^p` in the replace text box for a paragraph in the search and replace dialog.
  • 2. Select the list
  • 3. Open Sort text
  • 4. Verify that the options are Paragraphs, Number and Ascending, then click OK.
  • 5. If needed, replace the paragraph marks with commas and spaces. Use `^p` in the find text box for a paragraph in the search and replace dialog.
  • NOTES:
  • While the default view is the Print Layout view, working on it might make it difficult to identify when a line is caused by a paragraph, a line break, page margins or other objects.
#2: Post edited by user avatar Wicket‭ · 2023-06-18T23:21:18Z (11 months ago)
  • The Sort Text function shown in the snapshot is intended to sort lists. In Microsoft Word, a list has each element member in a new line. Considering this
  • 1. Convert the numbers separated by commas into a list.
  • This could be done by using search and replace, replacing the commas and spaces with a paragraph mark. Use `^p` in the replace box for a paragraph in the search and replace dialog.
  • 2. Select the list
  • 3. Open Sort text
  • 4. Verify that the options are Paragraphs, Number and Ascending, then click OK.
  • 5. If needed, replace the paragraph marks by commas and spaces.
  • The Sort Text function shown in the snapshot is intended to sort lists. In Microsoft Word, a list has each element member in a new line. Considering this
  • 1. Convert the numbers separated by commas into a list.
  • This could be done by using search and replace, replacing the commas and spaces with a paragraph mark. Use `^p` in the replace text box for a paragraph in the search and replace dialog.
  • 2. Select the list
  • 3. Open Sort text
  • 4. Verify that the options are Paragraphs, Number and Ascending, then click OK.
  • 5. If needed, replace the paragraph marks with commas and spaces. Use `^p` in the find text box for a paragraph in the search and replace dialog.
#1: Initial revision by user avatar Wicket‭ · 2023-06-18T23:20:28Z (11 months ago)
The Sort Text function shown in the snapshot is intended to sort lists. In Microsoft Word, a list has each element member in a new line. Considering this

1. Convert the numbers separated by commas into a list. 
     This could be done by using search and replace, replacing the commas and spaces with a paragraph mark. Use `^p` in the replace box for a paragraph in the search and replace dialog.
2. Select the list
3. Open Sort text
4. Verify that the options are Paragraphs, Number and Ascending, then click OK.
5. If needed, replace the paragraph marks by commas and spaces.