src/Model/SortableHelper.php
private function arraysAreIdentical (array $array1, array $array2) : bool
    {
        return (0 === \count(\array_diff($array1, $array2)))
            && (0 === \count(\array_diff($array2, $array1)));
    }
private function arraysAreIdentical (array $array1, array $array2) : bool
    {
        return (0 === \count(\array_diff($array1, $array2)))
            && (0 === \count(\array_diff($array2, $array1)));
    }
private function arraysAreIdentical ( array $ array1 , array $ array2 ) : bool { return ( 0 === \ count ( \ array_diff ( $ array1 , $ array2 ) ) ) && ( 0 === \ count ( \ array_diff ( $ array2 , $ array1 ) ) ) ; }
Returns whether two arrays are identical.

@param array $array1
@param array $array2

@return bool
Returns whether two arrays are identical .