$a$
Next smallest distance $b – 4$
New distances: $ g-8, c-12$
Next smallest distance $g-8$
New distances: $c-12, h-9$
Next smallest distance: $h-9$
New distances: $f-15, c-11$
Next smallest distance: $c-11$
New distances: $e-15, d-18, f-15$
Next smallest distance: $f-15$ ($f$ got finalized before $e)$
No more changes,
$a,b,g,h,c,f,e,d$ is the correct order as visited by the Dijikstra's algorithm.
Correct option: B.