Sort function

Sort a Vector, a Matrix, a Table or a Data.frame