Provides functionality for searching a list of keys in order and returning the first match