Is there a way to sort my query by the 'order_date' value and have it display in chronological order (latest orders first)? I'm also working on implementing pagination. Here is the code snippet for my current query.
var orders = fbdatabase.ref('orders').orderByChild('order_date');
orders.on('value', function(snapshot) {
console.log(snapshot.val())
});