def original_pivot_sequence_heading
        (heading.sort - col_filter.pivot.keys << col_filter.pivot.keys).flatten
      end
def original_pivot_sequence_heading
        (heading.sort - col_filter.pivot.keys << col_filter.pivot.keys).flatten
      end
Arrange heading in the original sequence regarding conditional column
 filters