autosorting for iterators
test for --sort-files
--sort-files does now also work with stdin and compressed files