Home >

Requirements

Download

Version 2.2 -- 2017-05-26

Old Versions

Dependencies

SortEngine

SortEngine is a sort routine which have the quick sort and the bubble sort algorithm. And the behaivoir can be customied with object oriented interface.

use SortEngine : script "SortEngine"

(* sort a list *)
set a_list to {5, 7, 1, 9, 3, 4}
set a_sorter to make SortEngine
log a_sorter's sort_list(a_list)
--result :{1, 3, 4, 5, 7, 9}
log a_list
-- result : {1, 3, 4, 5, 7, 9}

(* reverse sort *)
a_sorter's set_ascending(false)
log a_sorter's sort_list(a_list)
--result : {9, 7, 5, 4, 3, 1}

History

  • 2.2 -- 2017-05-26
    • Enabled to work with AppleScript Libraries.
    • Remove dependency on ModuleLoader.
    • OS X 10.9 or later is required.
  • 2.1.2 -- 2013-10-18
    • Fixed : "sort_table" did not work with XList 1.6.
  • 2.1.1-- 2012-05-28
    • Update Help.
      • Fixed : "Edit Link" and handler's copy link does not work in Mac OS X 10.6.
  • 2.1 -- 2010-10-21
    • Remove dependencies on "ShowHelpBook".
    • ModuleLoader 2.1 or later is required.
  • 2.0 -- 2008.02.02
    • First release with English documents.