added vote sorting - seems like a hack