store file sorting options in the browser's LocalStorage