How do you multi sort with notation

Mike Matthews - Omnis omnis at lineal.co.uk
Thu Sep 30 19:13:14 UTC 2021


Ah, you are correct, I just copied example.  Typing while in another meeting. :)

You are correct, add the $sort

Mike

> On 30 Sep 2021, at 20:08, Das Goravani <goravanis at gmail.com> wrote:
> 
> 
> Mike, you typed
> 
> List(then fields and true/false for asc/desc
> 
> But you started with list(
> 
> Was that intentional.. did you mean list.$sort(then values.. ???
> 
> 
> 
>> On Sep 30, 2021, at 3:05 PM, Mike Matthews - Omnis <omnis at lineal.co.uk> wrote:
>> 
>> List(field1,up-down,Field2,up-down,field3,up-down)
>> 
>> The Up or Down is set by using kTrue or kFalse.
>> 
>> So
>> 
>> List(field1, kTrue,Field2,kfalse,field3,kfalse)
>> 
>> As you type, the helper shovel show this.
>> 
>> Mike
>> 
>> 
>> 
>>> On 30 Sep 2021, at 20:01, Das Goravani <goravanis at gmail.com> wrote:
>>> 
>>> 
>>> I am familiar with
>>> 
>>> SomeList.$sort(someSortField)
>>> 
>>> But how do you do multiple sort fields using that notation?
>>> _____________________________________________________________
>>> Manage your list subscriptions at http://lists.omnis-dev.com
>>> Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com 
>> 
>> _____________________________________________________________
>> Manage your list subscriptions at http://lists.omnis-dev.com
>> Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com 
> 
> _____________________________________________________________
> Manage your list subscriptions at http://lists.omnis-dev.com
> Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com 



More information about the omnisdev-en mailing list