#25 change sort_by parameter to be a key
Merge pull request #26 from TjRus/25_issue_tjrus

#25 change sort_by parameter to be a key