added object2array and use that to preserve facet order from search options xml