Improving search

Added filter by affiliation and added optional sorting.
Also focused the input field on load.