sort_#

swordfish.function.sort_()#

Sort X in-place in ascending/descending order.

参数:
  • 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.