This is what I'm trying to solve: http://sortable.com/blog/coding-challenge/