makephaselist should sort consistently