Prevent lexicographical sorting, see issue #20

The native Javascript `sort` function sorts numbers lexicographically instead of in numerical order. See issue #20 for an example.