How to return all documents having specific field as null when we apply orderBy on that specific field in collection in firestore
For example
I have a 2 document one having "createdDate" field and other not.
I make a query to orderMy Date acc to "createdDate field".
firestore.collection("collection").orderBy("createdDate").get()
The result I am getting has only 1 record, that record contains createdDate and It skipped that document that doesn't have "createdDate" field
But I want all the documents