using sorted dictionary for employee database