
One big difference between ASCII based character sets and EBCDIC ones
are the relative positions of upper and lower case letters and the
letters compared to the digits.  If sorted on an ASCII based machine the
two letter abbreviation for a physician comes before the two letter
for drive, that is:

    @sorted = sort(qw(Dr. dr.));  # @sorted holds ('Dr.','dr.') on ASCII,
                                  # but ('dr.','Dr.') on EBCDIC

The property of lower case before uppercase letters in EBCDIC is
even carried to the Latin 1 EBCDIC pages such as 0037 and 1047.
An example would be that E<Euml> C<E WITH DIAERESIS> (203) comes 
before E<euml> C<e WITH DIAERESIS> (235) on an ASCII machine, but 
the latter (83) comes before the former (115) on an EBCDIC machine.  
(Astute readers will note that the upper case version of E<szlig> 
C<SMALL LETTER SHARP S> is simply "SS" and that the upper case version of 
E<yuml> C<y WITH DIAERESIS> is not in the 0..255 range but it is 
at U+x0178 in Unicode, or C<"\x{178}"> in a Unicode enabled Perl).

The sort order will cause differences between results obtained on
ASCII machines versus EBCDIC machines.  What follows are some suggestions
on how to deal with these differences.

=head2 Ignore ASCII vs. EBCDIC sort differences.

This is the least computationally expensive strategy.  It may require
some user education.

=head2 MONO CASE then sort data.

In order to minimize the expense of mono casing mixed test try to
C<tr///> towards the character set case most employed within the data.
If the data are primarily UPPERCASE non Latin 1 then apply tr/[a-z]/[A-Z]/
then sort().  If the data are primarily lowercase non Latin 1 then
apply tr/[A-Z]/[a-z]/ before sorting.  If the data are primarily UPPERCASE
and include Latin-1 characters then apply:  

    tr/[a-z]/[A-Z]/; 
    tr/[