order
order(
     self ,
     array ,
     relative = False,
     samples = False,
 )-> ‘tuple[Self, slice | ArrayLike]’
Order coordinate according to array values or samples.
Parameters
| Parameter | Description | 
|---|---|
| array | A numpy array of values in coordinate or (if samples) indices. | 
| relative | If True, the values are relative to the start or end of coordinate. | 
| samples | If True, the array is of dtype in and refers to samples in the coordinate. | 
