The question of course is, how can I make both Linux and Solaris behave equal?

Um, fix your locales (the actual system files ... man locale..) so they match? See https://help.ubuntu.com/community/Locale and perllocale

FWIW, on my win32 I get the same as your solaris

0: Sort_1Test 1: Sort_Test 2: Sort1_Test 3: SortTest 4: Test_1Sort 5: Test_Sort 6: Test1_Sort 7: TestSort

Which probably means I don't have that locale installed and/or the locale use locale; uses isn't the same as what you want it to be .... perllocale might have something to say on how to check what locales are available and which one is being used


In reply to Re: Difference in sort order between Solaris and Linux by Anonymous Monk
in thread Difference in sort order between Solaris and Linux by lpwevers

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.