Pre-requisites for sorting and filtering data