Sorting and filtering dynamic content at the repeater and not the dataset

when i usw special filtering or sorting for datasets 5 different categories for example i have to add 5 Datasets und add filtering to them. Why not add one dataset and filter and sort at the repeater itself