private String electionResultToString(long[] electionResult, List<ElectionOption> electionOptions) {
		String[] electionOptionsOrdered = new String[electionOptions.size()];
		for(ElectionOption e : electionOptions) {
			if(e.getElectionOptionId() == e.getPartyId()) {
				electionOptionsOrdered[e.getElectionOptionId()] = "Party " + e.getName();
			} else if(e.getPartyId() != -1) {
				electionOptionsOrdered[e.getElectionOptionId()] = e.getName() + " from " + getPartyName(e.getPartyId(), electionOptions);
			} else {
				electionOptionsOrdered[e.getElectionOptionId()] = e.getName();
			}
		}
		
		StringBuilder sb = new StringBuilder();
		for (int i = 0; i < electionOptionsOrdered.length; i++) {
			sb.append(electionOptionsOrdered[i]);
			sb.append(" with ");
			sb.append(electionResult[i]);
			sb.append(" votes.\n");
		}
		
		return sb.toString();
	}