# \[Solved\] Sorted table in Supabase not showing corect in Thunkable

**URL:** https://community.thunkable.com/t/solved-sorted-table-in-supabase-not-showing-corect-in-thunkable/2634614
**Category:** Questions about Thunkable X
**Created:** [October 9, 2023, 6:42am UTC](https://community.thunkable.com/t/solved-sorted-table-in-supabase-not-showing-corect-in-thunkable/2634614 "2023-10-09T06:42:23Z")
**Posts on this page:** 3
**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 9, 2023, 6:42am UTC](https://community.thunkable.com/t/solved-sorted-table-in-supabase-not-showing-corect-in-thunkable/2634614/1 "2023-10-09T06:42:23Z")

</div>

Since there was a similar bug in Airtable it might be a bug in this case as well.  
this table sort :  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/a/6/a603f12299b2e7fc7e607a4bfa1e2d5e8f7ae5d2.png)  
is shown as this  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/1/1/11c7fd413960504f145aedb0b3ad85fa1a56fdf3.png)  
I can manipulate the sort, primary key etc on the DB end but without any effect in Thunkable  
(The outcome in blue has only been parsed - Nothing more)

Any ideas…

---

<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 9, 2023, 10:33am UTC](https://community.thunkable.com/t/solved-sorted-table-in-supabase-not-showing-corect-in-thunkable/2634614/2 "2023-10-09T10:33:52Z")

</div>

Sorting on your backend shouldn’t affect the front, at all, when grabbing data from supabase.

Sorting on the backend is for, well, backend use like viewing raw records / hunting down rouge/malformed data/etc

If you want to apply a sort on the front it’s a parameter that you’ll need to pass with your api call

[Here are the relevant docs.](https://postgrest.org/en/stable/references/api/tables_views.html?highlight=sort#ordering) Remember that Supabse uses [PostgREST](https://postgrest.org/) under the hood to power the REST API layer over your db

for reference it would usually be. the parameter `order` in the URL like this

below would be an example of grabbing data from the `people` table and i wanted to sort by name, from A-to-Z, and have any null record return last

GET `/people?order=name.desc.nullslast`

---

<div class="post-metadata">

### Author: ![matt\_conroy](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/matt_conroy/32/150843_2.png) [@matt\_conroy](https://community.thunkable.com/u/matt_conroy)
#### Post date: [October 10, 2023, 3:52pm UTC](https://community.thunkable.com/t/solved-sorted-table-in-supabase-not-showing-corect-in-thunkable/2634614/3 "2023-10-10T15:52:23Z")

</div>


