fix breakage when none of -r/-R/-o used

a916246 broke the case where none of the -r/-R/-o options are used.
Merge pull request #12 from aspiers/fix/sorted-messages

fix breakage when none of -r/-R/-o used