add sorting
Merge pull request #1 from vellow/master

add sorting