title: Alarm for firebase
body: <p>I have created an alarm system to be used by caregiver to set alarms for the elderly. In this alarm, how do i get the latest alarm that has been set to be placed on top, instead of just appearing at the bottom every single time</p>
  
  <pre><code>mListAdapter = new FirebaseListAdapter&lt;notify&gt;(this, notify.class, android.R.layout.two_line_list_item, mRoot) {
          @Override
          protected void populateView(View view, notify notify, int i) {
              ((TextView)view.findViewById(android.R.id.text1)).setText(notify.getCourse() + "Quantity:" + notify.getQuantity() +"," + notify.getRepeat());
              ((TextView)view.findViewById(android.R.id.text2)).setText("Medication set to " +notify.getDate() + " at " + notify.getTime());
          }
      }; listView.setAdapter(mListAdapter);
  </code></pre>