Makes sort ns comparator configurable

- adds length comparator
- adds section to the readme describing configurable sort ns
Merge pull request #44 from benedekfazekas/master

Makes sort ns comparator configurable