JSFiddle - React, Tailwind, and code Playground by Pranab Dey October 21, 2018 JavaScript var arr = [1,5,3,6,8,70,56]; console.log(arr.sort((a,b)=>a>b));