Concept:
To evaluate a \(3\times3\) determinant, we expand it along any row or column. Expanding along the first row is convenient here because it contains a zero.
Step 1: Expand the determinant along the first row.
The given determinant is
\[
\begin{vmatrix}
0 & 4 & 2a\\
-2 & a & -1\\
-1 & -2 & 5
\end{vmatrix}
=-86.
\]
Expanding along the first row,
\[
0\cdot
\begin{vmatrix}
a & -1\\
-2 & 5
\end{vmatrix}
-4
\begin{vmatrix}
-2 & -1\\
-1 & 5
\end{vmatrix}
+2a
\begin{vmatrix}
-2 & a\\
-1 & -2
\end{vmatrix}
=-86.
\]
Step 2: Evaluate the \(2\times2\) determinants.
The first term is zero.
For the second determinant,
\[
\begin{vmatrix}
-2 & -1\\
-1 & 5
\end{vmatrix}
=(-2)(5)-(-1)(-1)
=-10-1=-11.
\]
Hence,
\[
-4(-11)=44.
\]
For the third determinant,
\[
\begin{vmatrix}
-2 & a\\
-1 & -2
\end{vmatrix}
=(-2)(-2)-a(-1)
=4+a.
\]
Therefore,
\[
2a(4+a)=8a+2a^2.
\]
Step 3: Form the quadratic equation.
Substituting these values,
\[
44+8a+2a^2=-86.
\]
\[
2a^2+8a+130=0.
\]
Dividing throughout by \(2\),
\[
a^2+4a+65=0.
\]
Step 4: Find the sum of all possible values of \(a\).
For the quadratic equation
\[
a^2+4a+65=0,
\]
Vieta's formula gives
\[
\text{Sum of roots}
=
-\frac{4}{1}
=-4.
\]
Hence,
\[
\boxed{\text{The sum of all possible values of }a=-4.}
\]