This is an insertion sort...but it does weird things if you mix numbers and words...try entering one,2,three,4,five ??? It does okay with all numbers or all words but not so well with a mix.
Yes! I found a way for a scratch sorter to sort everything! Numbers AND words, and you can even enter negatives! I found that one of the scratch blocks in 1.4 already can sort everything, and I just used it to my advantage! I literally spent five minutes on this project! But, there is one flaw, it is backwards, so apple would be and the bottom of the list, and zebra would be at the top! And with numbers, -5 would be at the bottom, and 12 would be and the top! And yes! I had coffee!
Comments
You need to be logged in to post comments
Add a Comment
(\/) (..) c('')('')
(\/) (..) c('')('')
how do you do it?
i found a way of making it the right way round! this literrally took 30 seconds! heres the link: (link to project)
This is an insertion sort...but it does weird things if you mix numbers and words...try entering one,2,three,4,five ??? It does okay with all numbers or all words but not so well with a mix.
Yeah, this whole project depends on one block so I couldn't fit that...
coffee evil!
coffee no evil coffee good. coffee real good.
NOOOOOOOOOOOOOOOOOOOOOOOOO... It's the only thing keeping me from falling asleep.
change the < to a >
thias is great! good job!
I already made a bubble sort for strings and numbers...
thats awesome! great idea!
Thanks!