My solution to the Sortable coding challenge (http://sortable.com/blog/coding-challenge/)