test for .bz2 and .gz first

moved .xz further back in the list