![]() |
Sorting a Vector of Strings | Index << >> |
Sorting a vector of Unix file names (30,000 items). x←(↓⎕a[?(n,8)⍴26]),¨⍕¨?n⍴1e9 1e4 ⊣ n←3e4 4↑x ┌─────────────────┬────────────┬─────────────────┬────────────┐ │BCPDHUWV383163373│XTCIWDNM3436│LVSOZTDH596417605│GDCMAPSG7554│ └─────────────────┴────────────┴─────────────────┴────────────┘ cmpx'⍋x' 3.7E¯2 cmpx '{⍵[⍋⍵]}x' 3.8E¯2 E-mail from Richard Smith, 2018-09-27. |