sort_#

swordfish.function.sort_()#

Sort X in-place in ascending/descending order.

Parameters:
  • obj (Constant) – A vector/matrix.

  • ascending (Constant, optional) – A Boolean scalar indicating whether to sort X in ascending order or descending order, by default DFLT.