Fixed #814 Sorting of candidates in the assignment
Merge pull request #818 from ostcar/issue_814

Fixed #814 Sorting of candidates in the assignment