JSFiddle - React, Tailwind, and code Playground

by arielkotch

JavaScript

//flag sorted or not sorted

const ranArr = [2,4,2,4,3];



const sort = ({arr, sorted})=>{


}

console.log(sort({
	arr: ranArr,
  sorted:true
}))