Custom search by priority