Sorts a list of annotations by either start time, frequency, or both.
Arguments
- annotations
A list of Annotation objects.
- domain
Domain of the annotations, either "time", "frequency", or "both".
- decreasing
If TRUE, sort in decreasing order.
Value
A list of Annotation objects.