Implement sorted dict (list of tuples)