Added SortTPAByColumn and OffsetATPA