implemented ordered hash data structure on the trial settings

Reviewer: Dan V.