How do I sort by a field that is a boolean? It doesn’t seem to be working. Here is my code.
Requests.find({
requestDate: {$gt: new Date(minDate)}
},{
sort: {scheduled: 1, requestDate: 1, submitted: 1}
});
Scheduled is a boolean field (either true or false).