h6. [[OS SWI Calls]] h6(. » [[OS_HeapSort]] h6((. » Types h2. Types |_<^{width:4em}. # |_<^. R1 pointing to array type | |<^. 0 |<^. Cardinal | |<^. 1 |<^. Integer| |<^. 2 |<^. Pointer to cardinal| |<^. 3 |<^. Pointer to integer| |<^. 4 |<^. Pointer to chars (case insensitive)| |<^. 5 |<^. Pointer to chars (case sensitive)| |<^. >5 |<^. Pointer to custom objects, and R2 is address of [[HeapSort Comparison Routine|comparison routine]]| h4. See also * [[OS_HeapSort]] * [[OS_HeapSort32]] [link3]HeapSort%20Flags [link4]HeapSort%20Types