Sorting order in REST APIs when provided sort parameter in null

Hi,
In flowable REST API’s, for example in LIST /runtime/tasks
If we provide a sort param as dueDate, and all the tasks have dueDate field as null.
Based on what order will the sort happen? Is it the taskId?

Thanks.