Fixing remove line item icon in phone view. Sorting object before displaying