get_contact_alphabetic_index
Description:
Checks which alphabetic index contact
would be sorted into according to this.
So long as the active alphabet does not change, the returned index will be a valid position in the array of labels returned by get_alphabet.
If the index returned by this function is needed for any extended period of time, it should be recalculated whenever the alphabet changes.
Parameters:
this | |
contact |
the Contact to check |
Returns:
The alphabetic index of |