adds test for checking compressed rotated file indexes
fixes gzipped file sorting
Merge pull request #3 from toddtreece/master

.gz file sorting