Swift: Order the results

Order the query result by column.

Examples

With `select()`

try await supabase.database
  .from("countries")
  .select("id, name")
  .order("id", ascending: false)
  .execute()

On a foreign table

  try await supabase.database
    .from("countries")
    .select(
      """
        name,
        cities (
          name
        )
      """
    )
    .order("name", ascending: false, foreignTable: "cities")
    .execute()