Refactor isSorted check
Microseconds newtype wrapper around Int (#44)