Filters for ArrayDataProvider

Hello, I output data from array, how I can add filters for GridView? I need to create something like SearchModel for ActiveDataProvider ?

What is difficulty to use standard filter of GridView?