Apply sort order to products