Make _build_query() accept dicts as sort values
Merge pull request #189 from diox/dict-as-sort-value

Make _build_query() accept dicts as sort values