Update search.php
replaced previous solution by improved one
fixed typo
fixed typo
Reverted to first solution

The last solution integrating userState introduced a new issue where the ordering field was hold even when not passed in. So the userState is dropped again and the ordering field is evaluated on every page load.
Fixed typo

Replaced the expected REQUEST variables for filter order and filter order direction by commonly used variable names.
Update search.php
Merge pull request #3267 from itbra/patch-11

[#33441] fix FinderModelSearch::populateState() missing input filters