A funky sorting algorithm. :)