Programs: Minor fixes in reordering programs