DLSearch is a set of 3 components that you can use to search, sort and filter records in a dbgrid.
Just drop the control on a form. Run your application, click on the column title of the grid and type in the edit box. Incremental search, sorting and filtering is there for you.