Scala implementations of popular sorting algorithms.