Fix ordering with joined tables
Merge pull request #1 from tsipanov/master

Fix ordering with joined tables