I would add a helper column in the DataSheet first.
In a new column, say column H, in H2 enter formula like:
=IF(AND(B2=View!$B$1,G1=View!$C$1),COUNT(H$1:H1)+1,"")
and copy it down. This will identify and number the matches.
Then in the View sheet, in A2 enter formula:
=IFERROR(INDEX(DataSheet!A:A,MATCH(ROWS($A$2:$A2),DataSheet!$H:$H,0)),"")
copied down and across to get all the info. Where DataSheet!$H:$H is the column you placed the numbering formula in.
Bookmarks