fix "undefined" error in ward-level contests
empty candidateColors earlier to avoid ending up with 2 contents in it
use numerals for wards in contest names for sorting