fix sort + order by
Merge pull request #3 from baotran109/master

fix sort + order by