Sorting Does Not Work When Key Type Is Set to Numeric

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

SUMMARY

In any version of Microsoft Word for Windows, the sort feature may not sort numbers correctly if you are configured for something other than United States in the International Settings in the Control Panel in Windows. This will only occur if you are set for Canada (English) or for Portugal in the Country box.

MORE INFORMATION

If you are set up for Canada (English) or for Portugal, you cannot use numeric as your key type for the sort. However, if you set the key type to alphanumeric, the numbers will sort.

Steps to Reproduce Problem

  1. In the Windows Control Panel, select International.

  2. Select Canada (English) in the Country box and choose OK.

  3. Exit the Control Panel and start Word for Windows.

  4. Type "1" (without the quotation marks) on the first line, and press ENTER.

  5. Type "2" (without the quotation marks) on the second line. Select the "1" and the "2".

  6. If you are using Word for Windows 2.0, choose Sorting from the Tools menu. If you are using an earlier version, choose Sort from the Utilities menu.

  7. Select Descending in the Sorting Order box, then select Numeric in the Key Type box. Choose OK.

  8. Note that the numbers did not sort. However, if you go back and select Alphanumeric as the key type, the numbers will sort.


KBCategory:
KBSubcategory:
Additional query words: 1.x 2.0 2.0a 2.0a-CD word6
winword 2.0b 2.0c winword2 6.0 6.0a 6.0c generic
Version : 1.x 2.x 6.0 6.0a 6.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.