Changed around line 1
- theme roboto
- Hello World my name is
+ sort 832 2 3 43 234 324 312
+
+
+
+
+ sortParser
+ description Sort a list of numbers in ascending order.
+ extends abstractScrollParser
+ catchAllAtomType numberAtom
+ cueFromId
+ example
+ sort 3 453 4 24 4 34
+ javascript
+ buildHtml() {
+ const numbers = this.getAtomsFrom(1).map(num => parseFloat(num))
+ const sorted = numbers.sort((a, b) => a - b)
+ return `${sorted.join(" ")}`
+ }
+ buildTxt() {
+ const numbers = this.getAtomsFrom(1).map(num => parseFloat(num))
+ const sorted = numbers.sort((a, b) => a - b)
+ return sorted.join(" ")
+ }
+
+
+ font Verdana