sort with respect to field firebase code example
Example: firestore order number ascending
firestoreDb.collection("ideas").orderBy("number", Query.Direction.ASCENDING)
firestoreDb.collection("ideas").orderBy("number", Query.Direction.ASCENDING)