sort function sort<Type>(x:Type[_]) -> Type[_] Sort a vector. x Vector. Returns A vector giving the elements of x in ascending order.