Fixed sorting by totalvotes