support ordering of candidates