Add an option to pass an alternate sorting method
Merge pull request #1 from hughsk/custom-sort

Add an option to pass an alternate sorting method