code: function sortDistanceObject(dictionary) {
      var distances,
          distance;
  
      distances = [];
  
      for (distance in dictionary) {
          distances.push([distance, dictionary[distance]]);
      }
  
      return distances.sort(sort);
  }
docs: Get a sorted array containing language--distance
  tuples from an object with trigrams as its
  attributes, and their occurence count as their
  values.
  
  @param {Object.<string, number>} dictionary - Map of
  language-codes to distances.
  @return {Array.<Array.<string, number>>} An
  array containing language--distance tupples,
  sorted by count (low to high).