added sorting by product code