# Sort rows from data source (for row limitations)

**URL:** <https://community.glideapps.com/t/sort-rows-from-data-source-for-row-limitations/55783>\
**Category:** Ask for Help\
**Created:** [December 16, 2022, 8:25am UTC](https://community.glideapps.com/t/sort-rows-from-data-source-for-row-limitations/55783 "2022-12-16T08:25:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Treffsikker\_Kjetil](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/treffsikker_kjetil/32/50312_2.png) [@Treffsikker\_Kjetil](https://community.glideapps.com/u/Treffsikker_Kjetil)\
**Post date:** [December 16, 2022, 8:25am UTC](https://community.glideapps.com/t/sort-rows-from-data-source-for-row-limitations/55783/1 "2022-12-16T08:25:19Z")

</div>

Hi, i am learning about row limitations and find them to be quite restrictive. Also cause the price is what it is for higher tiers. Was thinking of living with just 5000 rows and allowing older simply not to be accessible. This would be fine if the rows where sorted by created date. This way I would always see the newest 5000 rows in my app.  
Though through my experience it doesn’t seem to be sorted this way. Anyone knows how it is sorted, and if it is possible to achieve what I want here?

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [December 16, 2022, 8:30am UTC](https://community.glideapps.com/t/sort-rows-from-data-source-for-row-limitations/55783/2 "2022-12-16T08:30:17Z")

</div>

> [@Treffsikker\_Kjetil](#):
>
> Was thinking of living with just 5000 rows and allowing older simply not to be accessible.

If a table is referenced in any way by your Glide App, then _ALL_ rows in that table are counted.  
So the only way to do that would be to remove the older rows from your table/s.  
Either delete them, or move them to another table that isn’t referenced by Glide.

What is your backend data source? Are you using Google Sheets, Glide Tables, AirTable, Excel?

> [@Treffsikker\_Kjetil](#):
>
> Anyone knows how it is sorted, and if it is possible to achieve what I want here?

Rows in the Glide Data Editor are not sorted in any way, so they will always appear in the order in which they were added, with newer rows appearing at the bottom. You do of course have several options for sorting and filtering data in the front end.
