Sorting display in picklist

  • 1
  • Question
  • Updated 4 years ago
  • Answered
Is there any way to sort the values in a picklist... i have a picklist drawing from a model called "minutes", and the minutes were entered in order.. 5,10,15 etc
but they don't display in that order in the picklist.

This is a very common thing to have to do when you have picklists based on data... imagine i had a picklist based on a customer list... i would want the customers to appear in alpha order
Photo of ktyler

ktyler

  • 9,244 Points 5k badge 2x thumb

Posted 6 years ago

  • 1
Photo of Ben Hubbard

Ben Hubbard, Employee

  • 12,490 Points 10k badge 2x thumb
Official Response
You should be able to set the order of the source model. Go to the advanced tab and set "fields to order records by" property to whatever you want. You can do anything that you could do in regular SOQL. Like "CreatedDate DESC, LastModifiedDate"