    bus_combo->model()->sort(0);
    bus_combo->setCurrentIndex(0);
    form_layout->addWidget(new QLabel("Bus"));
    form_layout->addWidget(bus_combo);
    form_layout->addWidget(msg_cb);
    form_layout->addWidget(new QLabel("Byte Index"));
 
</s> remove   bit_combo = new QComboBox(this);
  bit_combo->addItems({"0", "1"});
  bit_combo->setCurrentIndex(1);
  form_layout->addWidget(new QLabel("Bit"));
  form_layout->addWidget(bit_combo);
 </s> add  </s> remove   QComboBox *bus_combo, *bit_combo;
 </s> add   QComboBox *bus_combo, *msg_cb;
  QSpinBox *byte_idx_sb, *bit_idx_sb; </s> remove   QList<mismatched_struct> calcBits(uint8_t bus, int bit_to_find, int min_msgs_cnt);
 </s> add   QList<mismatched_struct> calcBits(uint8_t bus, uint32_t selected_address, int byte_idx, int bit_idx, int min_msgs_cnt); </s> remove     uint32_t address, byte_idx, bit_idx, mismatches, total, perc;
 </s> add     uint32_t address, byte_idx, bit_idx, mismatches, total;
    float perc;
  msg_cb = new QComboBox(this);
  for (auto &[address, msg] : dbc()->messages()) {
    msg_cb->addItem(msg.name, address);
  }
  msg_cb->model()->sort(0);
  msg_cb->setCurrentIndex(0);

  byte_idx_sb = new QSpinBox(this);
  byte_idx_sb->setRange(0, 63);

  bit_idx_sb = new QSpinBox(this);
  bit_idx_sb->setRange(0, 7);

    bus_combo->model()->sort(0);
    bus_combo->setCurrentIndex(0);
  msg_cb = new QComboBox(this);
  for (auto &[address, msg] : dbc()->messages()) {
    msg_cb->addItem(msg.name, address);
  }
  msg_cb->model()->sort(0);
  msg_cb->setCurrentIndex(0);

  byte_idx_sb = new QSpinBox(this);
  byte_idx_sb->setRange(0, 63);

  bit_idx_sb = new QSpinBox(this);
  bit_idx_sb->setRange(0, 7);

    form_layout->addWidget(new QLabel("Bus"));
    form_layout->addWidget(bus_combo);
    form_layout->addWidget(msg_cb);
    form_layout->addWidget(new QLabel("Byte Index"));
keep add keep keep keep keep
 cabana: fix find similar bits (#26918)

* dynamic find bit

* change

* Revert "change"

This reverts commit 12cf513e2725a52ee40b8999521adcd6ecb00221.

* change sorting and headers

* make perc a float

Co-authored-by: Shane Smiskol <shane@smiskol.com> 
tools/cabana/tools/findsimilarbits.cc