phpmyadmin/phpmyadmin — pull request #869 by sampathLiyanage (2014-01-25 06:10:06+00:00)
Title: synchronizing message(query) with the table ordering

bug fix for #4245 initial "Browse" query does not match sorting order.
http://sourceforge.net/p/phpmyadmin/bugs/4245/

Even though remembered sorting order was considered when rendering a table, it wasn't considered when displaying the query related to the table. Added some code to consider it when displaying the query if sorting order is remembered.