Try

selectAllSortBy: {
   'date' -> 1 .
   'time' -> 1 } asDictionary

where 1 means ascending and -1 means descending

Norbert

> Am 03.01.2017 um 19:56 schrieb Asbath Sama biyalou <asamabiya...@yahoo.com>:
> 
> Hi everybody. I have an object and I want to select all of them sorting
> them by date (Date) and hour(Time). But I don't know to tell that
> condition to selectAllSortBy:  I tried some things but no result. I am
> using Voyage with mongoDB.
> 
> Thanks
> 
> Asbath
> 
> 


Reply via email to