Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
QuickList.SortWithEvaluate
Sorts a list with using an expression to evaluate.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| List | 10.2 | Yes | Yes | Yes | Yes | Yes |
MBS( "QuickList.SortWithEvaluate"; ListRef; Expression ) More
Parameters
| Parameter | Description | Example |
|---|---|---|
| ListRef | The reference to the list returned from QuickList.New function. | $List |
| Expression | The expression to evaluate. Can include "leftValue" and "rightValue" as variables. |
"leftValue > rightValue" |
Result
Returns OK or error.
Description
Sorts a list with using an expression to evaluate.The expression is run every time two values are compared, so keep it quick. It should return 1 if leftValue is smaller than rightValue.
Our normal QuickList.Sort is faster due to not having the overhead of evaluating expressions.
See also
Blog Entries
- News about the MBS FileMaker Plugin 10.2
- MBS FileMaker Plugin 10.2 - More than 6200 Functions In One Plugin
- MBS FileMaker Plugin, version 10.2pr3
- Sort with evaluate in FileMaker
Release notes
- Version 10.2
- Added List.SortWithEvaluate and QuickList.SortWithEvaluate functions to sort lists with custom expression.
Created 9th April 2020, last changed 9th April 2020
QuickList.SortWith - QuickList.SubList
Feedback: Report problem or ask question.
Links
MBS Xojo PDF Plugins