public function sort($value)
    {
        $args = func_get_args();

        //single param, array of sorts
        if (count($args) == 1 && is_array($args[0])) {
            $args = $args[0];
        }

        foreach ($args as $arg) {
            if ($arg instanceof \Sherlock\components\SortInterface) {
                $this->params['sort'][] = $arg->toArray();
            }
        }

        return $this;
    }