# Last 10 added elements?

**URL:** <https://forum.weaviate.io/t/last-10-added-elements/1828>\
**Category:** General\
**Created:** [March 27, 2024, 3:31pm UTC](https://forum.weaviate.io/t/last-10-added-elements/1828 "2024-03-27T15:31:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![msj242](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.weaviate.io/msj242/32/340_2.png) [@msj242](https://forum.weaviate.io/u/msj242)\
**Post date:** [March 27, 2024, 3:31pm UTC](https://forum.weaviate.io/t/last-10-added-elements/1828/1 "2024-03-27T15:31:12Z")

</div>

I am looking at how to get the last 10 added elements, I tried sorting by unixTime, but it took ~10 seconds, which is not acceptable for our situation. Is there a way to “get” from the tail of the database? Or even randomly? The database runs quickly except for this issue of sorting by date.

---

<div class="post-metadata">

**Author:** ![DudaNogueira](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.weaviate.io/dudanogueira/32/7846_2.png) [@DudaNogueira](https://forum.weaviate.io/u/DudaNogueira)\
**Post date:** [March 28, 2024, 1:25pm UTC](https://forum.weaviate.io/t/last-10-added-elements/1828/2 "2024-03-28T13:25:56Z")

</div>

hi @msj242 ! That’s strange.

What is the version you are running?

Please, use the `support` category and provide the requested info. Do you see this happening also with a clean install? How many objects do you have in that collection?
