function getTabsOrder() {
    var tabs = $("#tabsBar").children().not('button');
    var order = [];
    for (let i = 0; i < tabs.length; i++) {
         order.push(tabs[i].id);
    }
    return order
}
Returns the order of tabs in the project