Fixed sort by tests to pass
Merge pull request #226 from glee23/master

Fixed sortby tests to pass