Added diffs for limits and fixed sort options

Close #46