fix(orderBy): allow arrayLike objects to be ordered

Closes #8944