Store user sorting type in cookie and set as default