diff --git a/Framework/Algorithms/src/SortXAxis2.cpp b/Framework/Algorithms/src/SortXAxis2.cpp
index a38a825168470631bc3d403e5c044ff30a465d71..b13597e87040b7fe5d9b03dbd1f51be706afa1a8 100644
--- a/Framework/Algorithms/src/SortXAxis2.cpp
+++ b/Framework/Algorithms/src/SortXAxis2.cpp
@@ -1,4 +1,4 @@
-#include "MantidAlgorithms/SortXAxis.h"
+#include "MantidAlgorithms/SortXAxis2.h"
 
 using namespace Mantid::Kernel;
 using namespace Mantid::API;