added example for combining filtering and sorting