Updated plugin system, much more flexible. Also added sort plugin for sorting numbers/strings etc.