Modified the sort function signature to also pass the original table, so not only keys are available when sorting, but also the values in the original table.
Merge branch 'modify_sort' of github.com:Tieske/serpent into modify_sort