Sort Alphabetically in Data Viewer List

Hey guys, hope all is well.
I was just wondering if you could sort a data viewer’s list items alphabetically because you can do this with a simple list’s ‘set simple list text items to…’ but i dont see any block like this with the data viewer.

please help. Thanks and have a good day!

Hello,
if i got it right, you are looking for something like this block, correct?
image

You can find it in the “list” blocks, also if you click on “ascending” you can change it to “alphabetically”

Let me know if it works - of course make sure you replace the right block with your list

1 Like

hi @maurizio.polverini89, thanks for the speedy reply!
I know to use this block, but what i am looking for is the set simple list text items to… but for the data list viewer, cause i dont see any block like this for the data list viewer.

hope you get what i mean, but anyways thanks!

From where you are gathering data to show in the data viewer?

It would be ideal to sort the data before it’s shown there

1 Like

google sheets

Just been working on this.

Data is coming from Firebase and being sorted going in to the table.

The ‘get property of object’ will ultimately be switched out for a variable to allow user to choose the filtered field.

1 Like

I know you might have tried it already, but if you click on a column you can select “Sort by”

I had the same issue and this is why when i need to gather info from a database which i need to be sorted easily, i use Airtable - there is very useful function called “autosort” that auto sorts fields automatically once being added.

For google sheets you’ll need to work a bit on coding and maybe using automation - but i’m sure somebody else can help you better on this

oh ok thank you so much @maurizio.polverini89 for your help! I’ll use airtable as my data source now.

Once again, thanks a lot!

1 Like

Just to let you know, Airtable is very good at something and very bad at something else.

If i should choose between Airtable and Google Sheet, i’d go for the second one all day long - but there are many things that one has and the one hasn’t and viceversa

I usually use them both depending on what i have to do

Good luck with your project!

1 Like

ah ok. Thanks a lot though!

Good luck to you too with your project! if you are working on one…

2 Likes