How do I make dropdown entries sort alphabetically?

Hi everybody,

So I’ve never written a single line of code in my life and the mere sight of it makes my eyes cross but somehow I managed to follow @code-queen 's tutorial on conditional filtering for dropdowns and it works - high five Nayeli!

However, for some reason I can’t get the entries in my dropdown to sort alphabetically and I’ve been struggling to follow input that is available in threads ( @andreas-kviby ) covering the same topic… Can someone PLEASE help?

Many warm thanks in advance!

1 Like

I do not know Nayelis video yet and the question is, did you use code to populate your dropdown ?
How is populated your dropdown ?

  1. From a result of a databse?
  2. Hard-coded?
  3. Static-List?
  4. Used the editor to enter all values into dropdown ?

There are many ways how to do it. But as i assume you were able to do your first successfully coding.

If so, you should perhaps show your actual code, to work with (to improve).

Remember, this forum is a code-related one and NO CODE is given!

I thought I saved my answer … weird.

Here it goes again …

For dropdowns connected to a dataset, you have add a sort via the dataset settings.

For dropdowns connected via code, you have to add a line of code to sort it via the code.

See pics …

SOLVED!

I just benefitted from this today! Thank you so much!!!