Is it possible to sort a DataTable column using a custom function?

There is not currently any functionality like this.