title: firebase orderByChild returns weird order for only one child
body: <p>I have a firebase schema containing the table 'Catalog' with a few values </p>
  
  <p><strong>Catalog Table</strong></p>
  
  <p><a href="https://i.stack.imgur.com/HtV4u.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/HtV4u.jpg" alt="enter image description here"></a></p>
  
  <p>I did an orderByChild() using avgDrinkPrice as the order and the output was wrong.</p>
  
  <p><strong>Output</strong></p>
  
  <p><a href="https://i.stack.imgur.com/qRBX0.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/qRBX0.jpg" alt="enter image description here"></a></p>
  
  <p><strong>Code</strong></p>
  
  <pre><code>myRef.orderByChild("avgDrinkPrice").addValueEventListener(new ValueEventListener() {
    @Override
          public void onDataChange(DataSnapshot dataSnapshot) {
              catalogList.clear();
              for (DataSnapshot postSnapshot: dataSnapshot.getChildren()) {
                  Catalog catalog = postSnapshot.getValue(Catalog.class);
                  catalogList.add(catalog);
                  Log.d(TAG,"Drink price " + catalog.getAvgDrinkPrice());
                  catalogSize++;
              }
              //LOOP ENDS.
  </code></pre>
  
  <p>I have tried sorting using other numerical values such as the latitude field, longitude and rating and their orders are correct. <strong>Only when sorting by avgDrinkPrice would the order be wrong.</strong> I don't understand why. Please help.</p>