Sort critical path nodes by sequence number (path order)