-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Which Umbraco Forms version are you using? (Please write the exact version, example: 13.4.0)
13.5.0
Which Umbraco version are you using? (Please write the exact version, example: 13.5.2)
13.9.3
Issue summary
Prevalue source based on Umbraco Documents, with value field set to Id and Order by set to Alphabetical is sorting by the value field not the caption field.
This means the list is not displayed in alphabetical order

The only way to get it to order by caption is to set the value field to Name, but then you cannot access the node id value.
Specifics
No response
Steps to reproduce
Create a prevalue source based on Umbraco Documents, with value field set to Id and Order by set to Alphabetical.
Add prevalue source to form as dropdown list - list is not displayed in alphabetical order, unless you set value field to Name, but then you don't have access to the id value
Expected result / actual result
Expected list to display in alphabetical order
Actual : List values (id) were sorted in alphabetical order not the actual display value (name)