title: orderByValue in child [Firebase Database Android]
body: <p>This is my firebase database</p>
  
  <p><a href="https://i.stack.imgur.com/9b3u1.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/9b3u1.png" alt="enter image description here"></a></p>
  
  <p>I need order this list by value of the child "total"
  I try to use this code</p>
  
  <pre><code>data.child("rating_apps").child("Developing").orderByChild("total").orderByValue().addChildEventListener(new ChildEventListener() {
              @Override
              public void onChildAdded(DataSnapshot dataSnapshot, String s) {
                   list.add(dataSnapshot.child("name").getValue(String.class));
                   adapter.notifyDataSetChanged();
              }
  
              @Override
              public void onChildChanged(DataSnapshot dataSnapshot, String s) {
  
              }
  
              @Override
              public void onChildRemoved(DataSnapshot dataSnapshot) {
  
              }
  
              @Override
              public void onChildMoved(DataSnapshot dataSnapshot, String s) {
  
              }
  
              @Override
              public void onCancelled(DatabaseError databaseError) {
  
              }
          });
  </code></pre>
  
  <p>Is it possible to order the list by value which is not close from parents?</p>