[lib/web] lift useSortedENSResolvedUsers into lib
Summary: Based on some feedback I got in D10919 + D10921 I should make sure that the memberInfos in useMembersGroupedByRole should already be sorted before I return it. In order to do that I need to lift useSortedENSResolvedUsers from web to lib so I can use this hook in useMembersGroupedByRole
Test Plan: flow
Reviewers: atul, inka
Reviewed By: atul
Subscribers: ashoat, tomek
Differential Revision: https://phab.comm.dev/D10978