jstests/noPassthrough/lookup_max_intermediate_size.js
// Used by testPipeline to sort result documents. All _ids must be primitives.
Used by testPipeline to sort result documents. All _ids must be primitives.
Used by testPipeline to sort result documents . All _ids must be primitives .
function compareId(a, b) {
    if (a._id < b._id) {
        return -1;
    }
    if (a._id > b._id) {
        return 1;
    }
    return 0;
}
function compareId ( a , b ) { if ( a . _id < b . _id ) { return - 1 ; } if ( a . _id > b . _id ) { return 1 ; } return 0 ; }
Used by testPipeline to sort result documents.
Used by testPipeline to sort result documents .