I have extracted 2 values from NAV using the below formula to provide the result required.
=-NL("Last","Contract","App Gross (LCY)","Contract No.",$D6)+NL("Last","Contract","Last Export Value Costs","Contract No.",$D6)
However I now what to sort this report automatically to show the report based on the ascending order of this result.
I have tried numerous formulas including the double quotes, but cannot get the right result.
Can any advise where I am going wrong?

