Follow up: Work Items: Assignees reorder on `workitemUpdate`

There a couple of issues associated work item assignees order

Ideally the sorting should be alphabetical order from backend , but to be honest it should be consistent with work item update and fetch alike

  1. Reordering when non-assignee widgets are updated - need to be fixed from the backend

The issue here is that the order of the assignees is changed randomly everytime we update any other widget in work item , this is an already existing issue in work items. See the the video below to see the behavior

Screen_Recording_2024-01-17_at_11.43.47_AM

  1. Reordering when assignee is updated - will be partly fixed when the above is fixed , need to make sure the same ordering is followed in optimistic response in frontend. Needs some work/validation on frontend when 1 is fixed

For more information follow list order point in !140846 (comment 1724135957)

Also see the change in assignee order in the below 2 graphql requests made one after the other

  1. https://www.graphdev.app/manage/clrhee57x0006uf0ujeml2l4k
  2. https://www.graphdev.app/manage/clrheeonl000auf0uo1xwwwub
Edited by Deepika Guliani