some basic improvements to er
make sure all the options are used if supplied
add sorting for funsies
Merge remote branch 'origin/master' into er_opts_improve

* origin/master:
  fix formatting bug in sprintf, always convert numeric parameter to integer
Adding an offline range compress script
All thing should be joined so the split works
fixup
stupid typo
Merge pull request #15 from square/er_opts_improve

Fixing er opts