Fix. Use OrderedDict to keep track of sorted results.  Reformat timestamp output.