JSFiddle - React, Tailwind, and code Playground

by Pranab Dey

JavaScript

var arr = [1,5,3,6,8,70,56];
console.log(arr.sort((a,b)=>a>b));