# Sort data from Realtime Database

**URL:** https://community.thunkable.com/t/sort-data-from-realtime-database/1795556
**Category:** Questions about Thunkable X
**Created:** [March 22, 2022, 6:23am UTC](https://community.thunkable.com/t/sort-data-from-realtime-database/1795556 "2022-03-22T06:23:25Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![bader\_mouti](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/bader_mouti/32/98887_2.png) [@bader\_mouti](https://community.thunkable.com/u/bader_mouti)
#### Post date: [March 22, 2022, 6:23am UTC](https://community.thunkable.com/t/sort-data-from-realtime-database/1795556/1 "2022-03-22T06:23:25Z")

</div>

Hi everyone  
I need help to sort data in my app after I called it from Realtime Database

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/9/e/9ecff7535052265e830e98a1740b48410b8209cd.jpeg)  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/d/3/d3c35a0d1aa6961d73a444d5ab134538be89c74a.png)

For my app screenshot its show how I show the data in my app  
I need to sort this data by time

For example if I have to trip one in 7:30 clock and the second 12:30 clock the first row in data lest viewer have to be the trip with the early time

---

<div class="post-metadata">

### Author: ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)
#### Post date: [March 22, 2022, 6:35am UTC](https://community.thunkable.com/t/sort-data-from-realtime-database/1795556/2 "2022-03-22T06:35:47Z")

</div>

Hello again.

See this demo  
[https://x.thunkable.com/projectPage/60d78e2a5e21e600110b78b4](https://x.thunkable.com/projectPage/60d78e2a5e21e600110b78b4)

---

<div class="post-metadata">

### Author: ![bader\_mouti](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/bader_mouti/32/98887_2.png) [@bader\_mouti](https://community.thunkable.com/u/bader_mouti)
#### Post date: [March 22, 2022, 6:45am UTC](https://community.thunkable.com/t/sort-data-from-realtime-database/1795556/3 "2022-03-22T06:45:00Z")

</div>

Hi @muneer thunk you for your replay

I had searched in the Community and I found your project

But I Didn’t understand how to make this with the Realtime Database

You make it with the list viewer and it’s hard to now how to make it withe Realtime Database

Do you have any simplest example for the real time database

---

<div class="post-metadata">

### Author: ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)
#### Post date: [March 22, 2022, 6:50am UTC](https://community.thunkable.com/t/sort-data-from-realtime-database/1795556/4 "2022-03-22T06:50:24Z")

</div>

> [@bader\_mouti](#):
>
> Do you have any simplest example for the real time database

Unfortunately, I don’t. But if you can send me the data from your database (or sample data) as JSON file then I will modify the project to make it fits the data from the database.

**This is special service for you.**

---

<div class="post-metadata">

### Author: ![bader\_mouti](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/bader_mouti/32/98887_2.png) [@bader\_mouti](https://community.thunkable.com/u/bader_mouti)
#### Post date: [March 22, 2022, 6:57am UTC](https://community.thunkable.com/t/sort-data-from-realtime-database/1795556/5 "2022-03-22T06:57:53Z")

</div>

Thank you @muneer for this help

You are the best 😊

I will send it for you in the Direct message

---

<div class="post-metadata">

### Author: ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)
#### Post date: [March 22, 2022, 8:30am UTC](https://community.thunkable.com/t/sort-data-from-realtime-database/1795556/6 "2022-03-22T08:30:10Z")

</div>

I sent you a project link with your data sorted.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/f/0f59f292712368bce16ff80133ae10de8a6f27e8.png) [@system](https://community.thunkable.com/u/system)
#### Post date: [June 20, 2022, 8:30am UTC](https://community.thunkable.com/t/sort-data-from-realtime-database/1795556/7 "2022-06-20T08:30:54Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
