The STAB_SortByValue function sorts the elements in a STAB object using the associated float values.
extern STAB_SortByValue float handle // handle to STAB float revflag // (optional) sort descending flag
If handle is not a valid STAB handle, an error message will be printed to the console.