sort priority for proto-DIEs