title: firebase -> date order reverse
body: <p>I am currently making an app using Firebase.</p>
  
  <p>It is one of those bulletin boards that can be seen anywhere on the web.</p>
  
  <p>But there was one problem.</p>
  
  <p>This is a matter of date sorting.</p>
  
  <p>I want to look at the recent date first, but I always see only the data I created first.  </p>
  
  <pre><code>postRef.orderByChild('createData').startAt(reverseDate).limitToFirst(1).on('child_added',(data)=&gt;{
      console.log(data.val().name + data.val().createData);
  })
  </code></pre>
  
  <p>result - ><code>hello1496941142093</code></p>
  
  <p>My firebase tree<a href="https://i.stack.imgur.com/TxBbI.png" rel="noreferrer"><img src="https://i.stack.imgur.com/TxBbI.png" alt="enter image description here"></a></p>
  
  <p>My code is the same as above.</p>
  
  <p>How can I check my recent posts first?</p>
  
  <p>How Do I order reverse of firebase database?</p>