adding in support for sorting and fixing return field support
Merge pull request #33 from lgleasain/1.0

adding in support for sorting and fixing return field support