x=[1 2 3 4 5 0];>> sort(x)ans = 0 1 2 3 4 5 >>fliplr(sort(x))ans = 5 4 3 2 1 0
a=[1 1.2 23.2 8.6 4.5 12.2];sort(a,'descend')