Added a Sorter field

Added a sorter field that can used for example to arrange a page elements.
Ported from SMOF - Slightly Modded Options Framework.
It includes some validation work, to make sure that the options saved in the database are right (and auto-update them when needed)