Collection newSortedCollection
Aus ExpeccoWiki
Schema
Description
Create a new empty SortedCollection. After creation, elements can be added using the "addElement" block. All added elements will automatically be sorted.
Errors
Added elements must be of the same type in order for the compare operation to work. For example, it is possible to mix Integer, Float, Fraction and LargeInteger elements, but not Strings with Numbers, as these do not allow for a direct comparison.
Back to Standard Library.
Previous: Collection [ NewSet ]
Next: Collection [ Some Elements ]
