The information in this article applies to:
SYMPTOMS
Microsoft Word appears to sort items in the wrong order. Any list that contains both numbers and text in the entries may appear to be sorted incorrectly. This includes menu listings for bookmarks, macros, or AutoText entries.
Test1 CAUSE
Word sorts mixed numbers and text in the same way that it sorts text, that is, one character at a time. For example, Word places all numbers that begin with 1 (such as 12, 156, or 1147) before all numbers that begin with 2 (such as 22, 256, or 2276). If two or more items begin with the same character, Word evaluates subsequent characters in each item to determine which item should come first. For example, Word places 124 before 19, based on the second digit (2 is less than 9, so 124 comes before 19). WORKAROUND
If you have named items that appear on a menu and which include numbers and text, you can change (pad) each name to include leading 0 (zeros) with the number, so that all the numbers have the same number of characters. If a list looks like Test1, Test2, and Test11, change the items to Test01, Test02, and Test11. Word now sorts them in the expected order. Additional query words:
Keywords : wd2000 |
Last Reviewed: May 13, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |