Auto sort vote score options (and add general way to do it)

This avoid problem with people doesn't ordering it correctly.
Merge pull request #1499 from matheod/sortThreshold

Auto sort vote score options (and add general way to do it)