Use localStorage instead of cookie and keep user default sort for each table separately