Skip to main content
7 events
when toggle format what by license comment
Apr 8 at 16:21 vote accept hana
Nov 11, 2022 at 17:53 comment added user1066 @Chuy. Very nice. Perhaps you would consider posting as an answer? Users landing on this page looking for info may well be interested (and usually do not browse comments?). Also, list[[OrderingBy[list, Characters@*ToString]]]
Nov 10, 2022 at 22:37 comment added chuy Could also do SortBy[list, Characters@*ToString]
Nov 10, 2022 at 21:37 comment added hana Numbers with filling zeros is nice too. Why does Sort work with S[1], S[2], etc?
Nov 10, 2022 at 20:57 comment added Bob Hanlon Also, indexed variables can be readily formatted in any desired format. For example, either Format[S[n_]] := "S" <> ToString[n] or Format[S[n_]] := Subscript[S, n]
Nov 10, 2022 at 20:47 history edited azerbajdzan CC BY-SA 4.0
added 271 characters in body
Nov 10, 2022 at 20:29 history answered azerbajdzan CC BY-SA 4.0