While normal inbuilt sorting is sufficient for common application needs, ParamQuery Grid also supports custom sorting.
In the below example, Company column is sorted by length of the company name String.