0
Currently I am able to sort the publications by date, but as they were saved by timestamp, it is always displayed from the oldest to the newest, I would like to do the reverse, with the newest publications first. Below is my current code:
database.ref("Pedidos").orderByChild("data_pedido").on('child_added', function(snapshot){
As the date is being saved in the bank:
Grateful for the attention.