Sort Array Ascending

Sort an array of numbers in ascending order.

Code

General
arr.sort

Parameters

Array of numbers

Server

More Ruby Snippets