added ascending option to sorting
Merge pull request #5 from pmast/sorting

added ascending option to sorting