fix(searchDoc): Fix sort for multiple attribute (refs #5066)
fix(searchDoc): Fix advanced search for enum (refs #5065)
Merge pull request #1334 from cbonnissent/SearchDoc

Correct advanced sort of the SearchDoc (closes #5066, closes #5065)