Hi everyone,
I’m running a residential cleaning business in 6 different cities, and we use Teamup as our main scheduling tool. As we grow, manually assigning jobs has become impossible, so we’re moving to a more “Uber‑like” model where cleaners can claim available jobs directly in our Glide app.
To support this, we consolidated all available jobs from all 6 cities into a single external SQL table (Supabase) that is connected to Glide. Initially this looked like the best approach compared to Glide’s native tables, but we’ve hit a limitation around sorting.
In the external SQL table, each job has a client address. In Glide, I created a computed column called location_distance that calculates the distance between the client’s address and the logged‑in user’s address/current location. The value is therefore user‑specific and changes in real time for each user.
Here’s the problem:
-
With SQL sources, it seems that collections can only be sorted by “real” SQL columns, not by Glide computed columns like
location_distance. -
Because
location_distanceis user‑specific, Supabase has no way to know which user is logged in, so I can’t calculate or sort this distance server‑side either.
So my questions are:
-
Is this behavior (no sorting by computed / user‑specific columns when using external SQL sources) expected?
-
Has anyone found a practical workaround to sort a list of jobs by per‑user distance when the base data lives in an external SQL table?
- For example, patterns using user‑specific columns, temporary Glide tables, or any other tricks that work reliably in production.
In case there is no viable solution using a SQL table, I was thinking on synchronize the SQL table with a Google Sheet table and connect this Google Sheet table to glide, but I’m not sure if the limitations would be the same for a Google sheet table?
Any guidance, patterns, or examples would be hugely appreciated. Thanks in advance for your help!