1

I'm trying to retrieve a list of books sorted by release date, but... nothing seems to work. I'm working with Angular and Firebase.

There are some screenshots:

  1. My code to retrieve the list of books
  2. Firebase

What I get

As you can see, the last two books (without picture) are not before the Harry Potter ones. I don't understand how I can sort the list. I read a lot of time the Firebase doc, but... I don't know what to do.

Any idea? Hope you can help me!

Sylvester

ReyAnthonyRenacia
  • 17,219
  • 5
  • 37
  • 56
SlyRaider
  • 21
  • 5
  • see the answer here, seems that should fix your issue too https://stackoverflow.com/questions/33893866/orderbychild-not-working-in-firebase – Nadhir Falta Aug 15 '18 at 14:10
  • @slyraier - It would help if your code were not in a photo and was actually in your question. – Chris Aug 15 '18 at 14:39

0 Answers0