Allow manual sorting of candidates in assignments (#1051)