try {
        if (sortObjects) {
          chunk = _sortObjectDeep(chunk as any)
        }