Subject: bug#18298: Sort behavior

From: [email-masked]
Date: Tue, 19 Aug 2014 07:41:45 -0500 (CDT)

[3. text/html]

Sort on LINUX is behaving in such a way that does not make common sense.

bfile:

0efefi008vj00n19000088gu ATTRSTRING2-------------

0efefi008vj00n19000088gu ATTRSTRING-------------0

0efefi008vj00n19000088gu ATTRSTRING-------------1

0efefi008vj00n19000088gu ATTRSTRING3-------------

0efefi008vj00n19000088gu ATTRSTRING--------------

Sort bfile (works as expected)

0efefi008vj00n19000088gu ATTRSTRING--------------

0efefi008vj00n19000088gu ATTRSTRING-------------0

0efefi008vj00n19000088gu ATTRSTRING-------------1

0efefi008vj00n19000088gu ATTRSTRING2-------------

0efefi008vj00n19000088gu ATTRSTRING3-------------

Afile:

0efefi008vj00n19000088gu ATTRSTRING2------------- C

0efefi008vj00n19000088gu ATTRSTRING-------------0 B

0efefi008vj00n19000088gu ATTRSTRING-------------1 A

0efefi008vj00n19000088gu ATTRSTRING3------------- D

0efefi008vj00n19000088gu ATTRSTRING-------------- E

Sort afile (does not work, all variations specifying –key or any other option does not work either)

0efefi008vj00n19000088gu ATTRSTRING-------------0 B

0efefi008vj00n19000088gu ATTRSTRING-------------1 A

0efefi008vj00n19000088gu ATTRSTRING2------------- C

0efefi008vj00n19000088gu ATTRSTRING3------------- D

0efefi008vj00n19000088gu ATTRSTRING-------------- E

What am I missing?

Thanks,

Mehdi