Details
-
Bug
-
Resolution: Works as Designed
-
Major - P3
-
None
-
4.4.3
-
None
-
ALL
Description
Source collection with unsorted fields:

Results redirected to another database are not sorted. I suspect it's a bug.
[{'$match': {}}, {'$sort': SON([('chrom', 1), ('start', 1), ('end', 1)])}, {'$out': {'db': 'synth_BED_out', 'coll': 'bed_3_query_res.bed'}}] |

Results, obtained through the cursor, are sorted. It's expected by me.
[{'$match': {}}, {'$sort': SON([('chrom', 1), ('start', 1), ('end', 1)])}] |
