I have a model that uses the memory connector. On the client side the REST-API request looks like this:
TrackedAircraft.find({ filter:
{ order: 'altitude ASC',
where: { altitude: { neq: null }}
}
}).$promise.then(function (results) {
$scope.aircrafts = results;
});
"altitude" is a numeric value. Most of the time this works as expected, but like 1% of the requests end up with the default order.