Adding numeric sort function

Fixing #15 and starting on #14
Merge pull request #16 from lofiinterstate/feature/sorting

Adding numeric sort function