Sort Vector Ascending easy
vectors

Write an R function solution(x) that returns the elements of x sorted in ascending order.

Example

solution(c(3, 1, 2))  →  c(1, 2, 3)
solution.py
14px
📊 Test Results
Run your code to see test results here.