added better vote sorting - and model tests for that