Added support for remember last sorting on the page