I have a DataGrid where each column has a SortExpression. I would like the sort expression to be the equivalent of "ORDER BY LEN(myField)".
I have tried
SortExpression="LEN(myField)"
but this throws an exception as it is not valid syntax. Any ideas?