now i have a search field, which takes the date as a input and filter the cgrdview data records.
assume now i am having the filtered data's in grid view and sorting them. what happens is, the sorting works but my data set in gridview is rested to normal which will now list all the data records without any filter..
in other words,
in my gridview i have 100 records by default. now i am sorting them and they work fine with all sorting ways.
now i am applying a filter by giving a created data which i expect data to be shown on that date. so the filter applies correctly and my data records are as appropriate. now have only 20 records which is expected.
now i am sorting again... what happens is, sorting happens but i get back all the records (100 records).

why does this happens ? can somebody help me out to fix this. i am quiet running out of time.
helps are highly appreciated.
Thanks