Ranks output signals such that y[i] >= y[i+1]
Block that sorts the input signal u[:] such that the output
signal satisfies y[i] >= y[i+1] for all i=1, ..., nin-1.
This block may for example be used in a variable air volume flow
controller to access the position of the dampers that are most open.
- 
October 15, 2021, by Michael Wetter:
 Changed implementation to use sort function from Modelica Standard Library.
 This is for
IBPSA, #1534.
- 
November 21, 2011, by Michael Wetter:
 Removedassertstatement.
- 
November 25, 2008, by Michael Wetter:
 First implementation.
Generated at 2025-10-30T19:21:05Z
 by OpenModelicaOpenModelica 1.25.5 using GenerateDoc.mos