sort prog header