Sorting non-alphabetical entries in the database

Hi guys,

I’m trying to put together a webpage with some datasets. The problem is that I found it doesn’t sort the entries in correct order due to the language of the entries are non-alphabetical. Is there a way to change the language of the input?

Thanks in advance : )

Hi,
After using the query function, you get result.items which is an array. You can sort these results however you want using the Array.sort Javascript function. Check out the documentation here .

Best,
Tal.