>it's fine when i run only one of the sorts, but if i run both, moves comes out to 0.
If you've sorted the list, just how many swaps do you think you'd need to sort the list?
Reputation Points: 2780
Solved Threads: 312
long time no c
Offline 4,790 posts
since Apr 2004