Jamie Balfour

Welcome to my personal website.

Find out more about me, my personal projects, reviews, courses and much more here.

Official ZPE/YASS documentationlist_sort

list_sort (list l[, boolean numeric]) ⇒ list

Sorts a list, l by order. If the optional parameter, numeric, is set to true, the system treats the list as a list of numbers and sorts them on this assumption. Strings are ordered by their ASCII prime number, that is, each character is transformed to a number, and given a prime number power that is equivalent to it's position in the string. It is then multiplied by the next giving a unique number. Then it is transformed to a string again. Note: This function copies the list, l.

First available: Version 1.3.4
Comments

There are no comments on this page.

New comment

Comments are welcome and encouraged, including disagreement and critique. However, this is not a space for abuse. Disagreement is welcome; personal attacks, harassment, or hate will be removed instantly. This site reflects personal opinions, not universal truths. If you can’t distinguish between the two, this probably isn’t the place for you.

list_sort"/>

Comments powered by BalfComment

Feedback 👍
Comments are sent via email to me.