The world's stupidest, racy sort algorithm ported to Scala actors for no good reason.import scala.actors._ import Actor._ def sleepSort(xs : List[Int]) : List[Int] = { def sorter(aggregator : Actor, n : Int) = actor { reactWithin(n * 1000) { case TIMEOUT => { aggregator ! n exit } } } xs map (sorter(self, _)) foreach (_.start) val| One Div Zero