Need help in sorting

vidhya_mouli
Giga Sage

I have a table which has 100s of fields, like competency, language, written and verbal.

I am going to process different competencies and display them. All the competencies are sorted based on different things.
When the competency is language, it should be sorted based on the following:

1. First the language where oral is native should be displayed.

2. Then all the other languages should be sorted based on alphabetical order (and not based on oral.

 

How do I do this?

7 REPLIES 7

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @vidhya_mouli 

Could you please provide some screenshots showing how you are storing these values in a single field or multiple fields, and how Oral and Native are linked in a parent-child relationship?

If it is in 1 field then no way to multiple sort but more than 1 field, still think and try.

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

competency, language, oral and written are fields.

 

oral and written are choices with the following values: native, good, fluent, basic and no_knowledge

 

Sample values:

competency

languageoralwritten
languagehindinativenative
languagegermangoodgood
languagefrenchbeginnerbeginner
languagezulufluentgood

 

For the above, when displaying it should be:

hindi, french, german and zulu

 

Hi @vidhya_mouli 

It’s similar to a pivot table, but the pivot sort in the report isn’t working correctly.

As I understand it: [ These 2 should be in conditions always]

  • Competency = Language
  • Oral = Native

And sort the language [A-Z], try this way.

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

I think I was not clear when I asked the question. I am not using reports for this purpose. I am displaying this information in the portal through a widget. I am looking for the script for this purpose.