orderByElementToSql function
Converts an OrderByElement to a SQL string.
Implementation
String orderByElementToSql(OrderByElement element) => switch (element) {
OrderByColumn() =>
'${element.tableName != null ? '${element.tableName}.' : ''}'
'${element.columnName} ${element.toSql()}',
};