The flashback portion of the episode takes place between "Song Sung Yellow (1996)" and "Revelations of Gold (1996)".
The Shout! Factory DVD release places this episode between the episodes "A Small Problem" and "Oily to Bed, Oily to Rise" instead of their original air date order.