My guess is that it was the CORE8 that was misplaced, and GrandFather's and Tux's solutions are the expected output.
I suppose you meant to write <=> on the right side? Otherwise your code gives the same output as a plain sort
In reply to Re^2: sorting number
by Eily
in thread sorting number
by dideod.yang
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |