How to order a list
Options
Steve Wright-2225084
Member ✭
Hi everyone,
I want to fetch/get a list of objects from my database and have them sort in the front end by date so that the newest are on the top of the list.
I feel like this should be super obvious but I'm confused as to which function to use in the API call to make it sort like this.
Any advice or a link to a guide would be really appreciated.
Thanks!
I want to fetch/get a list of objects from my database and have them sort in the front end by date so that the newest are on the top of the list.
I feel like this should be super obvious but I'm confused as to which function to use in the API call to make it sort like this.
Any advice or a link to a guide would be really appreciated.
Thanks!
Comments
-
Hi Steve, I’m just a community member here, but I’m pretty sure this link will provide you with all the answers. And I would check out their video on add-ons if you haven’t already.
https://docs.xano.com/working-with-data/functions/database-requests/query-all-records/output-tab -
Thanks for this
Got me in the right direction. For anyone else struggling here's a great guide video I found:
https://www.youtube.com/watch?v=mF0ZnR8v4oQ
Categories
- All Categories
- 53 ? Announcements
- 47 ? Releases
- 37 ? Welcome
- 983 ? Help! I'm a Noob
- 125 ? No-Code Front-Ends
- 633 ? Working with APIs
- 439 ? Transforming data
- 126 ? Connect Xano to ...
- 50 ?? Find an Expert
- 348 ❓Other questions
- 35 ? Security
- 22 ✂️ Snippets
- 19 ? Showcase
- 7 ?️ Xano Chatter
- 62 ? Video Tutorials
- 171 ? Request a feature
- 229 ? Report a Bug
- 19 ? Templates & Extensions
- 7 ? Feedback