You are viewing a single comment's thread. Return to all comments →
Here's a JS approach:
return unsorted.sort((a,b) => { if(a.length === b.length){ return BigInt(a)-BigInt(b); } else{ return a.length - b.length } });
Seems like cookies are disabled on this browser, please enable them to open this website
Big Sorting
You are viewing a single comment's thread. Return to all comments →
Here's a JS approach: