sort contacts by email field . concode_field_sep Contact[] backend concode_elem_sep Storage instance concode_elem_sep String TEMPLATE_SORT concode_field_sep List<Contact> getSortedByPhone concode_elem_sep boolean saveContact concode_elem_sep String toNumeric concode_elem_sep boolean removeContact concode_elem_sep boolean removeContact concode_elem_sep List<Contact> getSortedByFirstName concode_elem_sep boolean checkIndex concode_elem_sep List<Contact> getSortedByLastName concode_elem_sep List<Contact> getSortedById concode_elem_sep Storage getInstance concode_elem_sep List<Contact> getContacts concode_elem_sep Contact getContact concode_elem_sep String unicKey
List < Contact > function ( ) { Map < String , Contact > loc0 = new TreeMap < String , Contact > ( String . CASE_INSENSITIVE_ORDER ) ; for ( int loc1 = 0 ; loc1 < 50 ; loc1 ++ ) { if ( backend [ loc1 ] != null ) { loc0 . put ( unicKey ( backend [ loc1 ] . getMail ( ) , loc1 ) , backend [ loc1 ] ) ; } } return new ArrayList < Contact > ( loc0 . values ( ) ) ; }