[Feature] added sort by direction
Merge pull request #1 from Princetambar/master

[Feature] added sort by direction