I use this formulas for the report review, but the report appears without the sequence. Attached screenshot. Thank you!
if {?Sub Sort} = 'Contract Ship Date' then ToText ({CUST_ORDER_LINE.DESIRED_SHIP_DATE})else if {?Sub Sort} = 'Part ID' then ToText({CUST_ORDER_LINE.PART_ID}) else {CUSTOMER_ORDER.CUSTOMER_PO_REF}