libc_cheri: Added qsort, heapsort
libc_cheri: Added regex functions