Records mismatch while sorting in MPRAS and SunOS

Hi,

As part of migrating a script from SunOS to MP RAS, the following script is not functioning in desired way.

sort -t\| -u +6 -7 +12 -14 textfile1.out > \
        textfile2uniq.out

The -u is fetching unique records differently on SunOS and MP RAS Pentium IV. And thus the records are mismatching. The file "textfile1.out" is same for both OS.
I'm not supposed to change the fields that is being sorted.

Could anyone please tell me how to get out of this problem. Atleast give me some clues. :frowning:

Thank you,
RRVARMA

Please post replies if you are not able to understand the above question. I'll try to make it more clear if u hav any doubts.