Syntax · 1 is to search from the first entry to the last. · -1 is to search from the last entry to the first. · 2 is to search through the range with binary search ...