Syntax: Sorting in S-Lang. • ID: #185 Code const a=[3,1,2,0]; a.sort((x,y)=>x-y); console.log(a); Notes You can copy this snippet and adapt it. For advanced, add real-world inputs, edge cases, and tests. ← Prev Next →