Metabase version: 0.23.1
Repeatable steps to reproduce the issue
Query for GA data and then try to sort on numerical columns. One example of query is:
View: Users grouped by: Campaigns, sorting on result's users columns does not work and gives following error in console.

So... interestingly, turning it into a native query and then sorting, like this works:
{
"ids": "ga:75306573",
"start-date": "7daysAgo",
"end-date": "yesterday",
"metrics": "ga:pageviews",
"dimensions": "ga:pagePath",
"sort": "-ga:pageviews",
"include-empty-rows": false,
"max-results": 25
}
So that would suggest this is a GUI issue.
Most helpful comment
So... interestingly, turning it into a native query and then sorting, like this works:
{ "ids": "ga:75306573", "start-date": "7daysAgo", "end-date": "yesterday", "metrics": "ga:pageviews", "dimensions": "ga:pagePath", "sort": "-ga:pageviews", "include-empty-rows": false, "max-results": 25 }So that would suggest this is a GUI issue.