cosets.clj: keep cosets in order when compressing