NoteTab's Sort Buttons
- Ahoy NoteTabbers,
I'm wondering how the "Sort" buttons go about their business of alphabetizing a mixed page of text, numbers, & *^%$#@?
[Non-text portions of this message have been removed]
- Hi Rick,
Here is a (similar) question and an answer from Eric about the sort
ordering. I think the easiest is to try to type all characters on a
separate line and see the results for them...
>I tried to divide an alphabetical list into two alphabetizedon
>subsections. My idea was to place a tilde (~) as the first character
>some of the lines. This, I thougnt, would cause all the linesbeginning
>with the tilde to sort to the bottom of the list; because, accordingto
>an ANSI character table I consulted, the tilde character (ANSI #152)top
>comes after the lower case "z" (ANSI #122).
>But instead, the lines beginning with the tilde end up sorted to the
>of the list.NoteTab uses a Windows function to determine sorting order of
Here's the explanation that Microsoft provides in its documentation
Typically, strings are compared using what is called a "word sort"
technique. In a word sort, all punctuation marks and other
characters, except for the hyphen and the apostrophe, come before any
alphanumeric character. The hyphen and the apostrophe are treated
differently than the other nonalphanumeric symbols, in order to
words such as "coop" and "co-op" stay together within a sorted list.
If the SORT_STRINGSORT flag is specified [NoteTab specifies this
strings are compared using what is called a "string sort" technique.
string sort, the hyphen and apostrophe are treated just like any
nonalphanumeric symbols: they come before the alphanumeric symbols.
Hope this helps.
Eric G.V. Fookes
--- In notetab@y..., rbrannon@p... wrote:
> Ahoy NoteTabbers,
> I'm wondering how the "Sort" buttons go about their business of
alphabetizing a mixed page of text, numbers, & *^%$#@?
- Hi Rick,
>Ahoy NoteTabbers,Eric sent me this on the fly. Although it does not directly
>I'm wondering how the "Sort" buttons go about their business of
>alphabetizing a mixed page of text, numbers,
answer your question, the links may answer some other questions
that may arise. The first link would not open for me, but the
second did. It has to do with the Open and Save dialogs and
editing the registry. Please post to the off topic list if you
want to discuss the open and save dialogs, etc. Please see my
signature line to signup for that list.
>*^%$#@?I beg your pardon!!! Not on this list you don't. :-)
The NoteTab Off-Topic List