Brian Dunning's FileMaker Custom Functions

SortList ( theList )

Sorts a return delimited list

  Average rating: 4.5 (2 votes) Log in to vote

Steve Thoms   Steve Thoms
International Plastics
http://interplas.com

Share on Facebook Share on Twitter

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

  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.

 

Comments

Log in to post comments.

 

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

Under construction. Email me your wish list for improvements.