web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Answered

change lexicographic ordering of string type columns

(1) ShareShare
ReportReport
Posted on by 5
In the default view of an entity, I see that I can use the A-Z or Z-A ordering on a string column.
However, this puts ABC-12245 ahead of ABC-200 when I order A-Z. My goal is to sort on the value of the numerical part.
Any way I can change the default ordering to have Dynamics 365 look at the numerical part alone ? Thanks for any ideas.
I have the same question (0)
  • Verified answer
    Haig Liu Profile Picture
    Microsoft Employee on at
    Hi,
     
    We can only sort the string or numeric parts separately; it is not possible to sort a mixture of them.
    For example, create a calculated column that gets the numbers in the string individually and then sorts them by the size of the value. But then you can't take care of sorting the string.
     
    If my answer was helpful, please click Like, and if it solved your problem, I hope you can verify it to help other community members find more.
    Please feel free to contact me if you have any further questions.
    Regards,
    Haig

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Siv Sagar Profile Picture

Siv Sagar 93 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 80

#3
Martin Dráb Profile Picture

Martin Dráb 64 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans