Implementations of common sorting algorithms in Ruby and Javascript.