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

7
LINES

< > BotCompany Repo | #1019661 // sortFilesAlphaNum

JavaX fragment (include)

1  
static L<File> sortFilesAlphaNum(L<File> l) {
2  
  ret sorted(l, new Comparator<File>() {
3  
    public int compare(File a, File b) {
4  
      ret cmpAlphaNum(a.getName(), b.getName());
5  
    }
6  
  });
7  
}

Author comment

Began life as a copy of #1001850

download  show line numbers  debug dex  old transpilations   

Travelled to 11 computer(s): bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1019661
Snippet name: sortFilesAlphaNum
Eternal ID of this version: #1019661/1
Text MD5: a0cde5b92325876a2fae9d97c25b5908
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-11-16 22:28:44
Source code size: 196 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 304 / 345
Referenced in: [show references]