Required library edition: 
Required library file: dhtmlxfolders.js
sort items
sortFunc - custom function used for comparing two values. it gets 2 objects for comparison and must return positive int if necessary property of first ojects “bigger”, 0 if they are equel for both and negative if second obj property is “bigger”
order - direction (0 or 1)