HCLTech interview question

Sorting and filtering Gridview