sort (Matlab function) Sort elements in ascending order

## Matlab/Scilab equivalent

Matlab | Scilab
    sort(vector)
    sort(Matrix)
    sort(Matrix, dim)
    sort(__, "ascend")
    sort(__, "descend")
    gsort(vector, "g", "i")
    gsort(Matrix, "r", "i")
    gsort(Matrix, dim, "i")
    gsort(__, "i") // for increasing order
    gsort(__) // or explicitly gsort(__,"d")

For character string inputs, please use better mtlb_sort in Scilab.