Sorting in MongoDB in Java using BasicDBObject Tech by Sunny Srinidhi - January 24, 2020January 24, 20200 In this post, we’ll see how we can write a MongoDB sort query in Java. Sorting is one of the basic operations we do when querying any database. MongoDB is no different. The database offers sorting on any field in a document, and in any direction. Read more... “Sorting in MongoDB in Java using BasicDBObject”