Dishsort - Fortune [possible satire]

rindolfMy father and I joked about sorting the dishes in the dishwasher.
rindolfMy father said: "If you won't sort the dishwasher, the dishwasher won't be sorted."
Loci64rindolf: bubble sort *g*
ickedishsort
rindolfThen I said "No, it won't be sorted by me."
rindolfSo he said "No, it won't be sorted at all. We will throw the dishwasher."
rindolf"Along with all the dishes."
rindolfLoci64: bubble sort is inefficient.
rindolfLoci64: you should use quicksort or mergesort.
whoppixor bashsort, or heapsort!
ickeyeah, but thorough.
rindolfLoci64: or for small values of "N" - insertion sort.
whoppixalthough I can't remember if those were stable.
rindolfwhoppix: what is bashsort?
ickethat matters for a dishwasher
EvanCarroll/bin/sort
EvanCarrollduh
Loci64hehe, but dishwashers usually have medium to large numbers of N ;-) maybe trashsort solves the problem
rindolfEvanCarroll: perldoc -f sort is more portable.
whoppixrindolf, shellsort, not bashsort, sorry :)
rindolfBut I'll need to build a robot to use it with the dishes.
ickecshsort
EvanCarrollThere must be a trillion sorting algorithms
EvanCarrolland 9/10 of them are total shit
EvanCarrolland inferior in every way.
EvanCarrollThis sorting algorithm is coveted if you KNOW that only one value is out of perfect order and it sits in the second to last position of the input.
Channel#perl
NetworkFreenode
Taglinedishsort
Published2009-12-14