private void reorderTabs(Map<IdeFrameImpl, Integer> indexes) {
    sortTabs(Comparator.comparingInt(info -> indexes.get(info.getObject())));
    recalculateIndexes();
  }
private void reorderTabs(Map<IdeFrameImpl, Integer> indexes)