Added sorting functionality and cleaned up issue where expansion of links and text pushed products into other rows