Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

7
LINES

< > BotCompany Repo | #1023817 // sortMechList - case-insensitive sort

JavaX fragment (include)

svoid sortMechList(S listName) {
  S s = mL_raw(listName);
  LS lines = lines(rtrim(s));
  if (empty(lines)) ret;
  sortInPlaceIC(lines);
  editMechList(listName, lines(lines));
}

download  show line numbers  debug dex  old transpilations   

Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1023817
Snippet name: sortMechList - case-insensitive sort
Eternal ID of this version: #1023817/4
Text MD5: 20997f37ca10bc07ae36c5c652e2c4fa
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-07-09 13:21:30
Source code size: 185 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 171 / 195
Version history: 3 change(s)
Referenced in: [show references]