Sorting Algorithms in Ruby

Having enjoyed excellent posts on sorting algorithms I wanted to share my implementation of common sorting algorithms in Ruby. There are some great visualizations of sorting algorithms especially on Mike Bostock's blog such as the Fisher-Yates Shuffle, merge sort, and quick sort. Taking a leaf out of Jesse La Russo's…