I am trying to sort an array, but the output is not as expected. My array has:
11873
11873
11873
14361
16857
15795
14361
14361
14361
After I sort with following code, I get same array:
@sort_start= (sort{my $b <=>my $g} @start);
I cannot understand why.