Skip to main content
8 events
when toggle format what by license comment
Jan 8, 2013 at 20:56 history edited skratch CC BY-SA 3.0
added 275 characters in body
Jan 8, 2013 at 20:45 vote accept skratch
Jan 8, 2013 at 19:12 comment added cormullion @skratch SortBy[..., StringLength] will put shorter ones first - so 2 will come before 10, assuming all other parts of the name are the same.
Jan 8, 2013 at 18:17 comment added skratch @Hypnotoad they should come ordered with the caveat that the default Mathematica ordering function does not correctly order file names if the number of digits varies, ie. FileName(20).csv will come after FileName(100).csv. Is there a way to change that?
Jan 8, 2013 at 17:57 comment added Leonid Shifrin Strongly related question
Jan 8, 2013 at 17:38 answer added image_doctor timeline score: 4
Jan 8, 2013 at 16:54 comment added rm -rf Are the filenames in order as you've shown or do they have to be sorted in your actual application?
Jan 8, 2013 at 16:15 history asked skratch CC BY-SA 3.0