def METHOD_NAME(self, logicalIndexes):
    """
    Defines order of visible sections by logical indexes.
    Use `Hdf5TreeModel.NAME_COLUMN` to set the list.
    :param list logicalIndexes: List of logical indexes to display
    """
    for pos, column_id in enumerate(logicalIndexes):
        current_pos = self.visualIndex(column_id)
        self.moveSection(current_pos, pos)
        self.setSectionHidden(column_id, False)
    for column_id in set(range(self.model().columnCount())) - set(logicalIndexes):
        self.setSectionHidden(column_id, True)