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
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.

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:

Under construction. Email me your wish list for improvements.