code: public static void arrangeKeys(ArrayList<String> keys) {
      move(keys, "timestamp", 0);
      move(keys, "hostname", 1);
      move(keys, "type", 2);
    }
docs: Arrange the keys to provide a more readable printing order:
  first goes the timestamp, then the hostname and then the type, followed
  by all other keys found.
  
  @param keys The input ArrayList of keys to re-arrange.