Refactor Builder::sort() to not use recursion
Refactor Builder::sort() to not use recursion

lyft/mongodb,researchgate/mongodb,taohaolong/mongodb-1,bjori/mongodb,doctrine/mongodb,solocommand/mongodb,socialcdetest/test,talkspirit/mongodb,alcaeus/mongodb