I want to order my query based on the 'order_date' value. Unfortunately, it is returning them in the reverse order (oldest orders first). I am also trying to accomplish this with pagination. This is my current query.
var orders = fbdatabase.ref('orders').orderByChild('order_date');
orders.on('value', function(snapshot) {
console.log(snapshot.val())
});