Veuillez essayer de le faire via .aggregation()
> db.mycollecion.aggregate([
{$unwind: '$connections'},
{$sort: {'connections.time': 1}},
{$group: {
_id: '$_id',
connections: {$push: '$connections'}
}
}]);