Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
配列をソートしようとしていますが、出力が期待どおりではありません。私の配列は次のとおりです。
11873 11873 11873 14361 16857 15795 14361 14361 14361
次のコードで並べ替えた後、同じ配列を取得します。
@sort_start= (sort{my $b <=>my $g} @start);
理由がわかりません。