fix problem with product sorting not being stored after page reload