added sorting and filtering options for excel/pdf
added sorting and filtering options for excel/pdf, added some tests
added sorting and filtering options for excel/pdf, added some tests