Make ORDER BY more flexible. Fixes #20
Merge pull request #50 from neoascetic/fixes/20

Make ORDER BY more flexible. Fixes #20