I have found a very interesting link to design search engine in asp.net. Which describes the sorting and searching mechanism in result data grid.
following the link of that article.............
Full Stack Developer with 11+ years of experience
I can help you getting your projects done- Hire Me