Skip to main content
Nintex Community Menu Bar
Question

Need Sorting in Dropdown Form Control with Data Table Source

  • May 8, 2026
  • 5 replies
  • 58 views

bamaeric
Nintex Partner
Forum|alt.badge.img+14

I have a Nintex Workflow online start form with a Choice - Single control set as a drop down. The Options setting in the control is set to use a Table Data variable to get values for a Data table. The column in the Data table is a Location name (which are City names).

Locations were initially added to the Data table with those values being in alphabetical order. New rows were added in table, but those values appear at the bottom of the table and are not in alphabetical order.

On the form, the values in the Choice - Single form control appear in the order that they were entered and not in alphabetical order. I am looking a way to sort the choices alphabetically in the Choice - Single dropdown control. Is there a way to do this?

Order of rows entered into the Data table and how they display in the choice drop down control on the form:

Atlanta
Boston
Chicago
New York
Los Angeles
Baltimore
Houston

Desired way for then to display in the choice drop down control on the form (in alphabetical order):

Atlanta
Baltimore
Boston
Chicago
Houston
Los Angeles
New York

 

 

 

 

 

5 replies

Chris_Ben
Nintex Employee
Forum|alt.badge.img+14
  • Nintex Employee
  • May 11, 2026

Hey Eric,

 

I hope all is good in your world!

 

You can apply a sort when you’re setting up the data source to the Nintex table as per the attached example below.  As I write this reply, there’s a bug which isn’t making all the columns in the table available to sort but this should be addressed in the next day or so.

 

Cheers,

Chris

 


bamaeric
Nintex Partner
Forum|alt.badge.img+14
  • Author
  • Nintex Partner
  • May 14, 2026

Hi ​@Chris_Ben,

Hope you’re doing well. Thanks for the reply.

I tried your solution with selecting the Location in the Sorting setting. The dropdown form control is still sorting the values in the order they were entered and not alphabetically.

The images below are the configuration of the Data Variable for the Table data and the Choice - Single control. Any help is appreciated.

 

 


Chris_Ben
Nintex Employee
Forum|alt.badge.img+14
  • Nintex Employee
  • May 14, 2026

Hey Eric,

 

That’s really strange because I’ve just replicated your steps including exactly the same table/variable names and data and it’s working for me.  I also tried using the dataLocation | Rows collection as the data source (where we’d then ask you to specify the label and value) and also what you did by selecting dataLocation | Rows | Location and both returned a sorted list.

 

You definitely saved your update after changing the sorting parameter right?  Sometimes I forget to hit the update variable button because you have to scroll to see it (something I’ve been meaning to raise with the UX team).

 

If that’s not it, just to humour me, can you try rebuilding this example from scratch too?

 

Cheers,

Chris


MillaZ
Nintex Employee
Forum|alt.badge.img+23
  • Nintex Employee
  • May 18, 2026

Hey Eric, please see Chris’s question above! ​@bamaeric 


bamaeric
Nintex Partner
Forum|alt.badge.img+14
  • Author
  • Nintex Partner
  • May 18, 2026

Thanks for the update ​@Chris_Ben.

This is getting more bizarre as I conduct more testing. I created a brand-new Data table and a new workflow with a start form. I configured the form with a new Choice - Single field and a new Table data form data variable. After publishing the workflow, the choices are sorted alphabetically on the new form. I even added new table rows, and it sorts correctly.

I went back to the original form to test. I deleted the Table data form data variable and the Choice - Single form control. I republished the form and closed the designer. I opened the workflow up again and created a new Table data form data variable with unsorted rows and configured a new Choice - Single control to use the data variable. I published the form again and it still displays the Locations unsorted.

Could it have anything to do with the fact that the workflow with the form and Data table were created before the recent bug fixes were implemented?