h6. [[OS SWI Calls]] h6(. » [[OS_HeapSort]] h6((. » Flags h2. Flags |_<^{width:4em}. Bit |_<^. Meaning when set | |<^. 29 |<^. Use R6 as workspace | |<^. 30 |<^. Build word array in R1 from R4 + R5| |<^. 31 |<^. Sort R4 array after sorting pointers| h4. Notes [needs clarifying: AR 28/11/2009] A long standing bug means bit 30 causes the functions of both bits 30 and 31 to occur, while bit 31 is ineffective. h4. See also * [[OS_HeapSort]] * [[OS_HeapSort32]] [link3]HeapSort%20Flags [link4]HeapSort%20Types [link5]HeapSort%20Comparison%20Routine