Sort using a custom comparator: Difference between revisions

m
(→‎{{headerAppleScript}}: Passing a custom lengthDownAZup function to a generic sortBy function)
Line 168:
-- SORTING LISTS OF ATOMIC (NON-RECORD) DATA WITH A CUSTOM SORT FUNCTION
 
-- In sortBy, f is a function from null() to a tuple of two parts:
-- 1. a function from any value to a record derived from (and containing) that value
-- The base value should be present in the record under the key 'value'
9,659

edits