add some sorting and filtering features to the files index