I use the function:$array[0]=3; $array[1]=2; $array[2]=1;
The output is: 1 2 3foreach $number (sort { int($a) <=> int($b) } @array) { $number3[$n] = $number2; $n++; } print "@number3";
Edit Masem 2002-01-17 - CODE tags
In reply to How do I record in what order a sort was preformed by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |