How to search an array, locate if a value is equal to a string, and then take that row, find another value, and replace it. `$value['ID'] == 2;` I feel is the wrong way to go. 

```
while($row = $result1 -> fetch_array())
{
    $columbs[] = $row;
}

$sort = array();

foreach($columbs as $key => $value) 
{
    $sort['schooltype'][$key] = $value['schooltype'];
    $sort['ID'][$key] = $value['ID'];

    foreach($columbs as $key=>$value)
    {
        if ($value['schooltype'] == "High School") 
        {
            $value['ID'] == 2;

            $sortbyschooltype = array("array" => $value['ID'], "SORT" => SORT_ASC);
        }
    }
}

```