Sort

Install Java to view this project right on your browser!

user_icon Jens shared it 3 years, 5 months ago
741 views, 5 taggers, 20 people love it, 2 remixes by 2 people, 316 downloads, in 4 galleries
Add to my favorites?
Flag as inappropriate?

Comments

You need to be logged in to post comments

Add a Comment

 
GRA0007 GRA0007 2 months, 1 week ago

what is this?

barndt barndt 1 year, 8 months ago

I optimized the bubble sort as described in http://en.wikipedia.org/wiki/Bubble_sort It's now faster than Selection Sort and needs ~64% of the time it consumed before. See (link to project)

Jens Jens 1 year, 8 months ago

cool! Thanks for posting to the sorting gallery, too.

markyparky56 markyparky56 1 year, 10 months ago

Thread and insertion tend to be the two fastest.

theta4 theta4 1 year, 11 months ago

Excellent sorting algorithm demonstration :)

gunjalan gunjalan 2 years ago

sort를 잘 구성했습니다.

illusionist illusionist 2 years, 2 months ago

Great work! Ich habe festgestellt, sortieren sie vom Minimum zum Maximum. Könnte dies in keiner Weise geändert werden?

illusionist illusionist 2 years, 2 months ago

Great work! I've noticed they sort from minimum to maximum. Could this be reversed in any way?

Samueldora Samueldora 2 years, 5 months ago

Sehr schön! Grundlagenarbeit.

KimixD KimixD 2 years, 5 months ago

Hi ich check das nich! XD jetzt ernst mal!!

GreatGameDesigner GreatGameDesi… 2 years, 9 months ago

a LOT of variables

b_jay8 b_jay8 3 years, 4 months ago

cool

mathjp mathjp 3 years, 4 months ago

Have you references for Thread Sort algorithm ?

Jens Jens 3 years, 4 months ago

no, I invented it myself ;-)

music_man music_man 3 years, 4 months ago

I guess they updated java because I can see the lists now. Also it says at the top left of the project v30 instead of v29.

tantive4 tantive4 3 years, 5 months ago

Do you work at MIT.EDU?

illusionist illusionist 3 years, 4 months ago

nope. i think hes german.

(view all replies)
Cyclone103 Cyclone103 3 years, 5 months ago

I cannot wait for them to add the onscreen watcher to the java player!

markyiscool markyiscool 3 years, 5 months ago

Thats weird, my 'lists' project doesnt work online also.

Jens Jens 3 years, 5 months ago

Don't worry, they'll get it to work soon, I bet

dapontes dapontes 3 years, 5 months ago

Excellent work, this help me to learn more about Lists in Scratch1.3

maki maki 3 years, 5 months ago

What are the differences in these methods?

Jens Jens 3 years, 5 months ago

These are different algorithms to sort a list. They vary in how they work (some rearrange the original list: Bubble, Selection, Loop; others create a new sorted list: Insertion, Thread)

(view all replies)
News-guy News-guy 3 years, 5 months ago

my project should have this spot on the front page

BiggerT BiggerT 3 years, 5 months ago

i can't make it do anything

Jens Jens 3 years, 5 months ago

it doesn't work with the online player yet

(view all replies)
archmage archmage 3 years, 5 months ago

Nice sort routines! I just felt like making a bubble sort project because I thought that it would be the easiest.

s_federici s_federici 3 years, 5 months ago

Beautiful

BATzerk BATzerk 3 years, 5 months ago

Brilliant! High-fives all around, Jens! =)

chalkmarrow chalkmarrow 3 years, 5 months ago

Wow. That thread sort is excellent.

Jens Jens 3 years, 5 months ago

Thanks, but it's also too complex to just use in an ordinary project. Now if only we could "sense" a sprite's internal lists using that sensor block, then we could do a "sorter" sprite which could be imported...

Paddle2See Paddle2See* 3 years, 5 months ago

Your thread sort is pretty amazing! Very impressive.

Jens Jens 3 years, 5 months ago

the thread sort tries a "divide and conquer" approach borrowed from quickSort, but modifies it into two separate insertion threads, since you can't do recursion in Scratch yet. It's advantages become clearer with longer lists. Otherwise I was impressed by the Insertion's performance...

Paddle2See Paddle2See* 3 years, 5 months ago

This will be very handy! I wish the java player would catch up to the new features.

fullmoon fullmoon 3 years, 5 months ago

I tried an insertion sorting algorithim but I was unable to get it to work...I wish 1.3 included a sort/reverse function like in your Lists. Still, I'll be using this VERY often. This be a sample project...

Jens Jens 3 years, 5 months ago

Aha, there still seems to be an issue with lists, ... let's wait for the java player to catch up ...

chalkmarrow chalkmarrow 3 years, 5 months ago

The "warp" sounds really interesting. I've been mostly playing with the Arduino Board via the remote sensor extension of v1.3, and finally got it all working last week. I actually had to take out a soldering iron the other day :P

(view all replies)
chalkmarrow chalkmarrow 3 years, 5 months ago

lol. i made three individual projects that look exactly like this (selection sort, cocktail sort, and bubble sort). Our interfaces are identical. As with yours, the lists aren't displayed online, so I deleted them... Selection sort was the fastest I believe (unless the data started partially-sorted).

(view all replies)
PetertheGeek PetertheGeek 3 years, 5 months ago

Darn.

Please Wait...