Order the query result by column
.
The column to order by
Named parameters
const \{ data, error \} = await supabase
.from('countries')
.select('id', 'name')
.order('id', \{ ascending: false \})
const \{ data, error \} = await supabase
.from('countries')
.select(`
name,
cities (
name
)
`)
.order('name', \{ referencedTable: 'cities', ascending: false \})