Finds the index of the entry
The key of the entry to look for
The index of the entry in the entries array
See Implementation
Finds the index of the entry