Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 01-27-2017, 05:38 PM
Jennifer Murphy's Avatar
Jennifer Murphy Jennifer Murphy is offline What is the Word sort order for text? Windows XP What is the Word sort order for text? Office 2007
Competent Performer
What is the Word sort order for text?
 
Join Date: Aug 2011
Location: Silicon Valley
Posts: 234
Jennifer Murphy is on a distinguished road
Default What is the Word sort order for text?


I can't figure out how Word sorts text. It sure isn't the ASCII order, which is what I thought it should be.

The characters in the first line are in ASCII order. The characters in the second line are after they are sorted by Word.

1. ! $ & * 0 9 ? @ A Z [ ] a z ~ ASCII order
2. ! $ & * ? @ [ ] ~ A a Z z 0 9 Word order

Is there any way to get Word to use the ASCII order?
Reply With Quote
  #2  
Old 01-27-2017, 06:47 PM
Jennifer Murphy's Avatar
Jennifer Murphy Jennifer Murphy is offline What is the Word sort order for text? Windows XP What is the Word sort order for text? Office 2007
Competent Performer
What is the Word sort order for text?
 
Join Date: Aug 2011
Location: Silicon Valley
Posts: 234
Jennifer Murphy is on a distinguished road
Default

My previous post was incomplete. I only gave the Word Number sort order. There is also a Text sort order, which differs in the way it handles letters vs numbers.

Here is a more complete comparison:

! $ & * 0 9 ? @ A Z [ ] a z ~ ASCII Order
! $ & * ? @ [ ] ~ A a Z z 0 9 Word Number Sort Order
! $ & * ? @ [ ] ~ 0 9 A a Z z Word Text Sort Order

But neither is the ASCII wort order.
Reply With Quote
  #3  
Old 01-27-2017, 07:18 PM
macropod's Avatar
macropod macropod is offline What is the Word sort order for text? Windows 7 64bit What is the Word sort order for text? Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Word has three sort types: text; number; date. Excel has a 'value' sort that is different again. None of these is an ASCII-order sort. For that, you would need to employ a custom function.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
VBA Sort Custom Order tandchas Excel Programming 1 04-15-2016 05:38 PM
What is the Word sort order for text? Selecting values from different rows in a table and sort them in order in a single row FromF Excel 2 09-09-2014 02:30 AM
How to sort word text in alphabetic order . crossing Word 8 01-20-2012 09:51 AM
Outlook 2007 Contacts Sort Order bianson Outlook 2 01-27-2011 10:32 AM
list of documents come up in random order - any ideas how to sort this? tallscot49 Word 0 07-18-2010 12:40 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 08:03 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft