次第

しだい depending on

Why it means this

次 (order) + 第 (sequence) — originally 'the order of things'; now 'depending on' (天気次第), 'as soon as' (決まり次第), or the course of events (事の次第).

Breakdown

Each character links to its full entry — origin story, stroke order, and readings.