The user search lets you search by hierarchy or course. Nice. This feature would be very useful in the trash can search. It would allow you to reactivate all students in a specific course or hierarchy.
Why would it be useful? Sometimes a teacher wants to check an older course where the students accounts have all been deactivated. Reactiving them by finding the students one at a time is not practical, especially if we are considering tens or even hundreds of students, which is not unusual.
Since the feature already exists in one place, implementing it in another place should, I suppose, not be very complicated.