Show result from Two collection and apply filter on that result data

Hello All,

I have a situation where i need to display combined data from two collections. After displaying that result data i want to apply filter on this result data.

Can anyone suggest way or can show example of this flow?