I just found out that it’s not possible to order a Firestore collection query after using an = operator as a filter condition
* You cannot order your query by any field included in an equality ( =) orin clause.
Instead, I’m now wondering if it’s possible to order the data after it’s been received from Firestore, and then save the reordered data as a new data variable. Has anyone been able to reorder a Firestore data variable in this way?
In my specific example, my Firestore query is looking for entried that match a specific string. I then want to have this data ordered by a timestamp (which is another field in the data).
In this case I had a record collection in which the data records have a field “name” and I wanted to sort by “name” in ascending order.
Hence the formula was:
ORDER(outputs["Get record collection"].records, item.name, "asc")