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 :
Customer experience | Sales, Customer Insights,...
Answered

sorting a text field containing text and numbers ???

(0) ShareShare
ReportReport
Posted on by 193

Hello!  appreciate that this is a rather strange request as the A-Z sort by Quote Name is working as it should however we have a specific request to have the sorting on the number suffix (!)   So in the example below we would have the 10 then 20 then 30 etc...then eventually 100 and so on. Is this anyway possible wiithout any progrgamming maybe using some naming conventions?

pastedimage1642504386542v1.png

Quote Name

 Test Quote No. 10
 Test Quote No. 100
 Test Quote No. 110
 Test Quote No. 120
 Test Quote No. 130
 Test Quote No. 140
 Test Quote No. 150
 Test Quote No. 160
 Test Quote No. 170
 Test Quote No. 180
 Test Quote No. 190
 Test Quote No. 20
 Test Quote No. 200
 Test Quote No. 210
 Test Quote No. 220
 Test Quote No. 230
 Test Quote No. 240
 Test Quote No. 250
 Test Quote No. 260
 Test Quote No. 270
 Test Quote No. 280
 Test Quote No. 290
 Test Quote No. 30
 Test Quote No. 300
 Test Quote No. 310
 Test Quote No. 320
 Test Quote No. 330
 Test Quote No. 340
I have the same question (0)
  • Verified answer
    Community Member Profile Picture
    on at

    Hi jay ? bee ? gee ?,

    There is no way to directly achieve this by sorting name because it's type is string which is sort by each char in ASCII.

    As a workaround, you could create a Calculated field which get the number in your name:

    pastedimage1642562108807v1.png      pastedimage1642562136519v3.png

    Then convert this field from Text to Whole Number by Attribute Manager in the XRM ToolBox:

    pastedimage1642562250243v4.png

    After this succeed, add the field to your view and sort by it.

    pastedimage1642562364819v5.png

    Result:

    pastedimage1642562398545v6.png

  • jaybeegee Profile Picture
    193 on at

    omg that is incredibly smart!

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 > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 108 Super User 2025 Season 2

#2
Jimmy Passeti Profile Picture

Jimmy Passeti 50 Most Valuable Professional

#3
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 49 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans