ChatGPT - XIRR Calculation and Sorting