Add sort order to the url hash