I am looking for a solution on how to force sort a dynamic list of activities and have the Grand Total row always at the bottom. I've searched through some of the other Community questions and responses on similar force sort topics and most seem to have a solution of creating an index column and then using the sort tool as a way to sort based on the indexed column. I do not think I will be able to use this approach because the rows in the column I want sorted will be dynamic and change based on the customer the workflow is run for. For example, customer a could have a list of 5 activities and customer b could have a list of 10 activities. In both cases, I want the Grand Total row to always be at the last row in the output. I'm thinking that a multi-row formula tool might be needed, although I am not very familiar with how to be use this tool. If anyone has an idea on how I can accomplish this, I would appreciate some ideas.
Thank you!