refactor(orderBy): remove unneeded function wrapping