sort operation in mongodb java code example
Example: java nosql sort
DatabaseReference users = FirebaseDatabase.getInstance().getReference("users");
users.orderByChild("value").limitToFirst(10).addListenerForSingleValueEvent(new ValueEventListener() {
}