Hi @Alexis_Hunt, welcome to the community.
The thing with sorting is that it’s only applied on output level but not the dataset level. When you’re referencing a table in a formula, the data set you’re receiving is always the one before sorting.
My preferred way to go about this would be:
- Add a column in your table for “Order” that would calculate like:
thisTable.Sort(false, Affliction).Sort(false, Stacks).Find(thisRow)
- Sort your view on that new Order column instead of explicitly specifying Stacks descending and Affliction descending (note that in the formula above the order of columns to sort on is reverse)
- In your disable if formula, have something like
thisRow.Order != thisTable.Order.Max()