*/
#include <config.h>
+#include <algorithm>
#include "InsetList.h"
#include "Buffer.h"
#include "BufferParams.h"
#include "BranchList.h"
-#include "support/debug.h"
#include "insets/InsetBranch.h"
+#include "support/debug.h"
+
using namespace std;
namespace lyx {