made an ordered list for ordering contacts by time
made a hashtable