I am doing a project for election results...
I have the candidates in an array
dim ElectionResult(30,1)
aCandidate = 0
aVotes = 1
ElectionResult(0,aCandidate) = "Gore"
ElectionResult(1,aCandidate) = "Bush"
etc
if there a fast was to sort these by the number of votes they have. Is there a better way to hold the data.
(no databases!)
thanks




Reply With Quote