Removes all elements from the sorted data and deallocates data memory. If sorted data has destructor function, this destructor will be called for each deleted element.
void Destroysorteddata(t_sorted *sd);
Parameters:
sd - pointer to descriptor of sorted data.
See also: Createsorteddata