Reactjs – Firebase doesn't return data after applying orderBy function
In my app I want to get users data from Firestore in alphabetical order by name so I decided to use orderBy for that, but receive undefined. Firestore: Service: class UsersService { async getUsers(): Promise<IUser[] | undefined> { const userUid…