gutted old rep system for rails 4 version, thins are stable but sorting isn't working, total vote rep is