protected function matchDataToColumns($data, $columns)
    {
        $results = [];

        foreach ($columns as $column => $label) {
            $results[] = array_get($data, $column);
        }

        return $results;
    }
protected function matchDataToColumns($data, $columns)
    {
        $results = [];

        foreach ($columns as $column => $label) {
            $results[] = array_get($data, $column);
        }

        return $results;
    }
protected function matchDataToColumns ( $ data , $ columns ) { $ results = [ ] ; foreach ( $ columns as $ column => $ label ) { $ results [ ] = array_get ( $ data , $ column ) ; } return $ results ; }
Ensures the correct order of the column data.
Ensures the correct order of the column data .