Why the earliest sunset comes before the shortest day
Two things can change between one sunset and the next. The daylight interval can grow or shrink, and its midpoint can move on the clock. Around the December solstice at many northern locations, the first effect becomes small while solar noon continues to drift later.
The drift comes from Earth's axial tilt and its varying speed along its orbit. Together they make the time shown by a sundial run ahead of or behind uniform clock time over the year. Astronomers call that difference the equation of time. The result is often an earliest sunset before the solstice and a latest sunrise after it. U.S. Naval Observatory
In Sky Above, keep Stockholm selected and note the estimated sunrise, solar noon, and sunset on several December dates. Compare the duration separately from the clock times.