Sort Get next work based on order of the skill mentioned in the operator profile
Requirement: The user should be able to fetch assignment in the same order as mentioned in user profile. User can have different role/Skill and those role/skill would be listed in a particular order in operator profile. Now, when user does gent next work then system should fetch the assignment in same order those roles/skills have been listed in the profile.
Note: The total number of roles/skills can vary and it can be max 500. Also, a single user can have up to 50 different roles/skills.
Please let me know if anyone has any idea of the design/implementation. Thanks in advance!