Extended match with a simple sort method.