JSFiddle - React, Tailwind, and code Playground by Kelly Andrews January 09, 2014 JavaScript var points = [5, 10, 1]; console.log(points.sort(function(a,b){return a-b}));