How to order both the Supabase parent and referenced tables?

How to order both the Supabase parent (claims table) and referenced (approval_logs table) tables?

Hi @jwkhor

I don’t think you can sort by both columns there, only one. Have you tried using the Call a Postgres function action or sorting at the collection level?

another option is to use some custom js and use the supabase docs to help you out

the supabase instance in weweb is
wwLib.wwPlugins.supabase.instance