Java Nosql Sort

DatabaseReference users = FirebaseDatabase.getInstance().getReference("users");

users.orderByChild("value").limitToFirst(10).addListenerForSingleValueEvent(new ValueEventListener() {
}
Change The Mentality