2: EDIT: Also...this code is supposed to sort a list, like if i have list[10] and had the numbers like this
0 1 2 3 4 5 6 7 8 9
10 9 8 7 6 5 4 3 2 1
it would sort them like this
0 1 2 3 4 5 6 7 8 9
1 2 3 4 5 6 7 8 9 10
but it doesn't :/ could someone take a look at it and see if you can see what i am doing wrong =/ because i have been staring at it for hours now....
Code: Select all
http://www.justtjjewew.com/123.txt
EDIT: nvm i solved it.....i have edited the code now so that you can see my solution..... =/