Fixing lateral panel line item sorting