cut then paste pastes out of order

Craig shared this problem 6 years ago
Solved

Here's how to recreate. Create a silly collection with three (or more) records, the _id values are enough to illustrate the problem other fields are unnecessary. So here's my collection:


f4445840a69bbc9c605cb3159288916f

Click on the first "...ff9" then shift-click on the last record ("...ffb"). Then go into the text editor of choice and paste. The results are out-of-order. I'd expect the records to be pasted in ..9, ..a and then ..b but they are not. Instead it is:

{

"_id" : ObjectId("59cc0485f1586f308d5d4ff9")

},

{

"_id" : ObjectId("59cc0488f1586f308d5d4ffb")

},

{

"_id" : ObjectId("59cc0487f1586f308d5d4ffa")

}

This is particularly disruptive if one sorts the data in the query and expects the data to be in that order when one cuts and pastes.

Replies (3)

photo
1

Thank you for your bug report. We will fix it in the next update.


A quick work-around solution: use "CTRL+A" to select all docs. The results are in order.

photo
1

I wanted a subrange of the documents--not all of them. But yes, I could do that and then trim the resulting set. Good idea!

photo
1

resolved in 4.1.0

Leave a Comment
 
Attach a file