Brian Dunning's FileMaker Custom Functions

SortList ( theList )

Sorts a return delimited list

  Average rating: 4.3 (3 votes) Log in to vote

Steve Thoms   Steve Thoms
International Plastics

Share on Facebook Share on Twitter

  Sample input:
SortList ( "1¶7¶3¶9" )
  Sample output:

  Function definition: (Copy & paste into FileMaker's Edit Custom Function window)

This wraps the list in JSON object notation with the list values as the keys. The values in the JSON are all 1. It returns JSONListKeys result. This function sorts the keys by default. If you want to sort dates, convert them to SQL or other text sortable format. Hope you like it.



Oliver Reid   Oliver Reid
Sep 21, 2019
Elegant and fast

Log in to post comments.


Note: these functions are not guaranteed or supported by Please contact the individual developer with any questions or problems.

Support this website.

This library has been a free commmunity resource for FileMaker users and developers for 15 years. It receives no funding and has no advertisements. If it has helped you out, I'd really appreciate it if you could contribute whatever you think it's worth: