I have 3 values that are being sent to an array that are continuously being updated. I want to sort this array and do actions on it (i.e find the middle value, take differences between them). Intuitively I would think to sort the array and then do the calculations on the sorted array. The SRT function has .EN and .DN bits, which leads me to believe that the next rung will be executed before the array is done sorting. My initial thoughts are to execute the SRT with a ONS and then use the .DN bit to trigger the calculations. Basically I want to make sure I’m doing the calculations on the sorted array and not the raw values. Let me know if there is a clean solution for this