# \[Solved\] How can I sort data coming from Supabase

**URL:** https://community.thunkable.com/t/solved-how-can-i-sort-data-coming-from-supabase/2641381
**Category:** Web API's
**Tags:** solved, supabase
**Created:** [October 12, 2023, 6:27pm UTC](https://community.thunkable.com/t/solved-how-can-i-sort-data-coming-from-supabase/2641381 "2023-10-12T18:27:22Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![stefansladdeneng1](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/stefansladdeneng1/32/170123_2.png) [@stefansladdeneng1](https://community.thunkable.com/u/stefansladdeneng1)
#### Post date: [October 12, 2023, 6:06am UTC](https://community.thunkable.com/t/solved-how-can-i-sort-data-coming-from-supabase/2641381/1 "2023-10-12T06:06:49Z")

</div>

Yep - Got it - Only one more Q now.  
Using the following row in the URL “[https://nnnnnnnnnnnnnn.supabase.co/rest/v1/crossdatabas?highscore=gt.399000&select=\*,order=highscore](https://nnnnnnnnnnnnnn.supabase.co/rest/v1/crossdatabas?highscore=gt.399000&select=*,order=highscore) ascending=true”

Works quite fine - i only get result above 399000 listed, perfekt. However, The ordering does not work  
i guess it has to do with HOW the url is built. The “order=highscore ascending=true” part of the url does not work… How can i combine these commas? Question marks or…  
Cant find any relevant stuff in the documentation for a combo…  
Any idea…

---

<div class="post-metadata">

### Author: ![jared](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jared/32/138473_2.png) [@jared](https://community.thunkable.com/u/jared)
#### Post date: [October 12, 2023, 11:25am UTC](https://community.thunkable.com/t/solved-how-can-i-sort-data-coming-from-supabase/2641381/2 "2023-10-12T11:25:10Z")

</div>

> **[Tables and Views](https://postgrest.org/en/stable/references/api/tables_views.html?highlight=Order#ordering)**
>
> All tables and views of the exposed schema and accessible by the active database role are available for querying. They are exposed in one-level deep routes. For instance the full contents of a table people is returned at There are no...

It’s in the docs for using PostgREST (which is what you use when hitting supabase via rest api connections)

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/f/e/fec756a0c81c06768be6b664cdbf47da156c227f.jpeg)

---

<div class="post-metadata">

### Author: ![stefansladdeneng1](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/stefansladdeneng1/32/170123_2.png) [@stefansladdeneng1](https://community.thunkable.com/u/stefansladdeneng1)
#### Post date: [October 12, 2023, 11:29am UTC](https://community.thunkable.com/t/solved-how-can-i-sort-data-coming-from-supabase/2641381/3 "2023-10-12T11:29:13Z")

</div>

Aha… I missed that Document - Now i guess it makes mor sense… Thanks…

---

<div class="post-metadata">

### Author: ![jared](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jared/32/138473_2.png) [@jared](https://community.thunkable.com/u/jared)
#### Post date: [October 12, 2023, 6:27pm UTC](https://community.thunkable.com/t/solved-how-can-i-sort-data-coming-from-supabase/2641381/4 "2023-10-12T18:27:22Z")

</div>

I updated my sample app to include an example of ordered data grabs on the data dump page

 ![Screen Shot 2023-10-12 at 2.32.52 PM](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/4/0/40be4cb64d8067250a936b584ff0fb0a1509f23e.png)

---

<div class="post-metadata">

### Author: ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)
#### Post date: [November 8, 2024, 1:33pm UTC](https://community.thunkable.com/t/solved-how-can-i-sort-data-coming-from-supabase/2641381/5 "2024-11-08T13:33:23Z")

</div>


