Deprecated. Don't use for new development and try to migrate existing uses.
This function is only intended to be used with the grid component and not elsewhere.
Finds the column name and its sort order options from the list specified.
Returns the column name from the list, including the options 'asc' or 'desc' if they were specified.