add order by function
fix bug
Merge pull request #1 from Tagtoo/feature-order

add order by function