make this little sorter becuase i needed it for a game but i thought that i would share it wil the world ifanybody else needs it! all the instructions are in the project except that when u press m it will add 999 variables between 1-999 to to test it out in its full power. its lso very satifing to watch and it doesnt look like it doing anything important until its almost finished. its quite simple actually. i dont remeber how this way of sorting is called... let me see.... there! its called bubble sorting or sinking sort! basically every single cycle it compares two numbers, the one its on and the one next to it. if the number next to it is bigger, it swaps them, if not, do nothing. its speed slows down the more and more variables you add. and its an exponential growth to the amount of time that it takes. if people want to me make another version that i made up in my head and put it to the test you can tell me but people dont care about lists that much :P
meh when u work on a bad computer it tells you the actual amount of time it takes but when ur on a good computer it always says 0 :P