<commit_before>import { Map } from 'immutable'
import * as actions from '../constants/actions'

const initialContacts = Map()

export default (contacts = initialContacts, action) => {
  switch (action.type) {

  case actions.FETCHED_CONTACTS:
    return Map(action.contacts)

  default:
    return contacts
  }
}

<commit_msg>fix(contacts): use OrderedMap for dates<commit_after>import { OrderedMap } from 'immutable'
import * as actions from '../constants/actions'

const initialContacts = OrderedMap()

export default (contacts = initialContacts, action) => {
  switch (action.type) {

  case actions.FETCHED_CONTACTS:
    return OrderedMap(action.contacts)

  default:
    return contacts
  }
}


{'fraction_non_alphanumeric': 0.1072961373390558, 'fraction_numerical': 0.0, 'mean_word_length': 4.2631578947368425, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7625024', 'n_tokens_mistral': 225, 'n_tokens_neox': 219, 'n_words': 56}