fixed sorting problems. moved voting to the left. added saveSort and savePagerSize functions.