You can't bolt through a lid you already closed: obvious, and it's the whole idea behind assembly sequencing. Six parts is six factorial, 720 orders, and most are impossible. Every forbidden order traces to one of three things: ACCESS (a later part blocks the tool that fastens an earlier one), FIT (a part mates with a feature that must already be there), or FASTENING (the fastener needs both parts present and reachable). Each is an arrow: this before that.
Collect every arrow and you get a precedence graph; a feasible order is any path that never points backward, a topological sort. There's always at least one, unless you've drawn a cycle, which means you've designed something that can't be built.
A feasible order to assemble the parts.