adds test for checking compressed rotated file indexes
fixes gzipped file sorting