sort vote results by last_name. fixes #477
Merge branch 'issue_477' into issue_494
don't index same strings twice