sort and truncate EG for GT