firebase rderBy("createdAt") descending code example
Example: firebase order by key descending
firebase.database().ref('books').orderByChild('ups').limitToLast(2)
firebase.database().ref('books').orderByChild('ups').limitToLast(2)