Bug fix (#4245) - initial "Browse" query does not match sorting order

Changers for the code are minimum now. I had to update unit tests ( setUp() functions ). Please refer the comments from previous pull request for details about unit test changes (https://github.com/phpmyadmin/phpmyadmin/pull/875).