Delegate List Not Sorted Alphabetically in Profile

Anusha chandra
Tera Contributor

Hi, I am having an issue with the delegate list under the "My Delegates" section in the Profile. The list does not appear to be sorted alphabetically, which makes it a bit difficult to locate specific names.

Could someone advise if there is a way to sort this list alphabetically or if this functionality can be enabled? Thank you

Anushachandra_0-1745480765696.png

 

3 REPLIES 3

Abbas_5
Tera Sage
Tera Sage

Hello @Anusha chandra,

 

The delegate list in your ServiceNow profile may not be sorted alphabetically by default. To manually sort it, you can click on the column header of the delegate list (e.g., "User") to toggle between ascending and descending orderAlternatively, you can modify the list's order through the list administration settings. 
 
Here's how you can address the sorting issue:
  1. 1. Click Column Header:
    In the delegate list within your profile, click on the "User" column header. This will toggle the sort order between ascending and descending alphabetical order. 
     
  2. 2. List Administration Settings:
    If you want to make the alphabetical sort the default for all users, you can modify the list's configuration in ServiceNow's list administration settings. This will require you to navigate to the list's configuration and modify the "Sort Order" settings. 
     
Additional Notes:
  • Default Sort Order:
    The default sort order for the delegate list is often determined by the database's internal sorting behavior, which might not be alphabetical by default.
  • List Configuration:
    You can also customise other aspects of the list's display, such as the columns shown and their order, through the list administration settings. 
     
    If it is helpful, please hit the thumbs-up icon and accept the correct solution by referring to this solution, it will be helpful to them.
     
    Thanks & Regards,
    Abbas Shaik

Anusha chandra
Tera Contributor

Hi, We resolved the issue by updating the Script Include for the delegate list and adding the line grSysUser.orderBy('name'); to sort the results by name.

Which Script Include was it located in?