fixed sorting after points, added row counter to voting