Revert "it's possible to sort using a function, in that case ActiveScaffold can't get the column"

This reverts commit d939b1d40cff5cb82f28ec84433ccd2d61506edc.
fix some tests
fix helpers tests
fix some config tests