support of sam format & different field orderings