Index Entries with "." Do Not Alphabetize As Expected

Last reviewed: February 6, 1998
Article ID: Q94626
The information in this article applies to:
  • Microsoft Word for Windows, versions 2.0, 2.0a, 2.0a-CD, 2.0b, 2.0c, 6.0, 6.0a, 6.0c

SUMMARY

In Word for Windows, when you add a term that is preceded by a period (such as ".Dot") to an index, the term may not appear in the alphabetical order you expect. This is due to the method Word uses to order indexes and is by design.

MORE INFORMATION

Word uses a standard alphanumeric sort order for indexing. Entries that do not begin with an alpha or numeric character are sorted first. Entries that begin with non-alphanumeric characters (such as periods) are first ordered numerically by the ANSI numeric code that corresponds to the (non- alphanumeric) character. If the index contains more than one such entry and the entries contain alpha characters, they are ordered alphabetically as you would expect -- except that they will still precede all entries that begin with numbers or letters.

Entries beginning with numbers are sorted after those beginning with special characters. Entries beginning with alpha characters are sorted last. The following list shows a sample index sorted according to these rules:

   .bak
   .doc
   .dot
   1 Microsoft Way
   2 too many
   Apple
   Banana

WORKAROUND

If you want INDEX (XE) entries beginning with special characters to be sorted within the entire index, instead of appearing first, leave off the special character when you add the entry to the index, generate the index, and then manually add the special character. Every time you regenerate the index, you'll need to manually add the special characters.


KBCategory:
KBSubcategory:
Additional query words: 6.0 2.0 2.0a 2.0a-CD 2.0b 2.0c
word6 winword winword2
Version : 2.0 2.0a 2.0a-CD 2.0b 2.0c
Platform : WINDOWS


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: February 6, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.