[Date Prev][Date Next][Subject Prev][Subject Next][ Date Index][ Subject Index]

Out of Sorts



This may be no news to many, but I just re-discovered some quirks in
XyWrite's sorting (alphabetizing) setup.

First, the Sort command is case-insensitive. That's fine most of the time.
 But if you delete dupicate entries (SK default' first number set to 4 or 5),
and you want case to be important, you're skunked.

Second, the space character is sorted with everything else. This yields a
"telephone book" sort that goes word-by-word...

ham sandwich
Hamlet

....instead of character-by-character (an "index sort"):

Hamlet
ham sandwich

The cure is to load a "Sort Order" file that customizes how XyWrite does its
sorts. It begins with the header ;SO; and proceeds to list the sort order of
everything you're interested in. Very tedious, and there's no way to reverse
its effect other than to reboot XyWrite or to create another SO file that
replicates native sort order.

For an index sort, you'd list lower/cap pairs and leave out the space:

;SO;
;
aA
bB
(etc.)