Use the following functions for searching and sorting:
Searching and Sorting Functions
| Function |
Search or Sort |
| bsearch |
Binary search |
| _lfind |
Linear search for given value |
| _lsearch |
Linear search for given value, which is added to array if not found |
| qsort |
Quick sort |