public function getSortOptions()
    {
        $options = [];
        $descriptorSort = [];
        $modelDescriptorFields = $this->descriptorField;
        if (!is_array($modelDescriptorFields)) {
            $modelDescriptorFields = [$modelDescriptorFields];
        }
        foreach ($modelDescriptorFields as $field) {
            if ($this->hasAttribute($field)) {
                $descriptorSort[$field] = SORT_ASC;
            }
        }
        if (!empty($descriptorSort)) {
            $options[$this->descriptorLabel] = $descriptorSort;
        }
        if (empty($options) && $this->hasAttribute('created')) {
            $options['Created'] = ['created' => SORT_ASC];
        }

        return $options;
    }