Added sortby feature
Merge pull request #3 from mcharris/master

Added sortby feature