public function scopePositioned($query)
    {
        $query->orderBy($this->getTable().'.position', 'asc');
        if ($this->usesTimestamps()) {
            $query->orderBy($this->getTable().'.created_at', 'desc');
        }
        return $query;
    }