Last 10 added elements?

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.

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?