Save torrent list sort order in local storage
Restore selected filter on page load
Follow project coding style. Issue #2192.