public function getWithRankPermissions()
{
$this->SQL->select('r.*')->from('Role r')->leftJoin('Permission p', 'p.RoleID = r.RoleID and p.JunctionID is null')->orderBy('Sort', 'asc');
foreach ($this->RankPermissions as $Permission) {
$this->SQL->select("`{$Permission}`", '', $Permission);
}
$Result = $this->SQL->get();
return $Result;
}