Solved
Werner_EAnswer
25-Diamond I
October 15, 2021
See if the attached file helps!
You may replace the "R" after "if k>=O" by "csort(R,O)" if that suits your need better.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.