make_with(a_record)
Make a new instance with passing a record which describes options.
The record to pass as an argument can have following labels.
- ascending (boolean) : Set sorting order. For descending order, false must be given. If omitted, sort in ascending order.
- sorter (string) : Sorting algorithm. "quick" indicates the quick sort. "bubble" indicates the bubble sort. The quick sort is used in the default.
- comparator (script object): A script object to define magnitude relation of values which can not deal with comparison operators of AppleScript.
Parameters
- a_record (record):
Options for a new instance
Result
script object :A new instance of SortEngine