User profile widget while calculating team and direct reports does not order the results alphabetically
Steps to Reproduce
1.Go to any Jakarta / Kingston instance
2.Configure for a user direct reports / memebers and manager.
3. Configure them to be shown as part of user profile widget
4. You will see that the names of the team members are not in alphabetical order
In the user profile widget adding a condition of orderBy('name') in server script.
For example in the calculate team and calculate direct reports below lines can be added in the server script. (Before .query() function)
Related Problem: PRB1290858