This shows you the differences between two versions of the page.
docu:csheet:sysadm:script:python:sort_by_key [2022/01/05 13:44] – created admin | docu:csheet:sysadm:script:python:sort_by_key [2022/01/05 13:45] (current) – admin | ||
---|---|---|---|
Line 2: | Line 2: | ||
\\ | \\ | ||
+ | In case you want an array [] ordered by a numeric value in items wanted by key: | ||
+ | |||
<code python> | <code python> | ||
# numeric ascending order | # numeric ascending order |