from pathlib import Path
from typing import Callable
from typing import List


def find_paths(path: Path, pattern: str, filter: Callable[[Path], bool]) -> List[Path]:
	"""
	Glob pattern relatively to path and filter results by predicate.
	"""
	return [x for x in sorted(path.glob(pattern), key=str) if filter(x)]