Query query = mFirestore.collection("rootcollection") .orderBy("timestamp", Query.Direction.DESCENDING) .whereEqualTo("month", 3);