|
|
'''sort''' is a module which adds sorting and binary search capabilities to the Wren programming language. It consists of static methods organized into 3 classes: Cmp, Sort and Find. There is also an abstract class, Comparable, which enables child classes to easily support the
basic comparison operators.
It is the third in a series of modules (listed on the language's [[https://rosettacode.org/wiki/Category:Wren main page]]) designed to assist with writing Rosetta Code tasks so the same code does not have to be written or copy/pasted time and time again thereby bloating a task's script code unnecessarily.
To use it all you need to do is to copy the source code (in the [[https://rosettacode.org/wiki/Category_talk:Sort talk page]]) to a text file called ''sort.wren'' and place this in the same directory as the importing script so the command line interpreter can find it.
|