sort.cons transformation in priorities section