Problem 716. Arrange vector in ascending order

Created by Ismail

Arrange a given vector in ascending order.

 input  = [4 5 1 2 9];
 output = [1 2 4 5 9];

Problem Group

84 solvers submitted 99 solutions (1.18 solutions/solver).