Sorting
The term “sorting” is used to refer to the process of arranging the data in ascending or descending order.
Example: Statistical data collected can be sorted alphabetically or numerically based on the value of the data.
Filtering
The process of data filtering involves selecting a smaller part of your data set to view or analyze. This is done by using that subset to view or analyze your data set as a whole.
Example: A complete set of data is kept, but only a portion of that set is used in the calculation, so the whole set is not used.
Hope this helps :)