Sorting & Searching: Small Range Integers Index   <<   >>


 
x ← ¯1e9 + ?1e6⍴2e9
y ←  1e9 + ?1e6⍴2e5

{⎕←⍬⊣⎕←cmpx ⍵∘,¨'xy'}¨ '⍳⍨' '⍋' '{⍵[⍋⍵]}'