sort field and random mode are now saved