diff --git a/Framework/Algorithms/src/SortXAxis.cpp b/Framework/Algorithms/src/SortXAxis.cpp
index 49c436c7cf7328c5ecdc2c8af222179fb00dadb6..37d1c87d8e39e6a7163af0ade20790b4280286ec 100644
--- a/Framework/Algorithms/src/SortXAxis.cpp
+++ b/Framework/Algorithms/src/SortXAxis.cpp
@@ -223,8 +223,9 @@ bool isItSorted(Comparator const &compare,
        specNum++) {
     if (!std::is_sorted(inputWorkspace.x(specNum).begin(),
                         inputWorkspace.x(specNum).end(),
-                        [&](double lhs, double rhs)
-                            -> bool { return compare(lhs, rhs); })) {
+                        [&](double lhs, double rhs) -> bool {
+                          return compare(lhs, rhs);
+                        })) {
       return false;
     }
   }
diff --git a/Framework/Algorithms/test/SortXAxisTest.h b/Framework/Algorithms/test/SortXAxisTest.h
index f4bd883c12be326685927ae6d297692c14979c5b..82aa4d497eddeba8448d34c2cb4c1adb9353f801 100644
--- a/Framework/Algorithms/test/SortXAxisTest.h
+++ b/Framework/Algorithms/test/SortXAxisTest.h
@@ -1,8 +1,8 @@
 #ifndef MANTID_ALGORITHMS_SORTXAXISTEST_H_
 #define MANTID_ALGORITHMS_SORTXAXISTEST_H_
 
-#include "MantidAlgorithms/SortXAxis.h"
 #include "MantidAPI/MatrixWorkspace.h"
+#include "MantidAlgorithms/SortXAxis.h"
 #include "MantidKernel/Workspace.h"
 #include <cxxtest/TestSuite.h>
 
@@ -26,15 +26,15 @@ MatrixWorkspace_sptr createWorkspace(const HistogramX &xData,
 }
 
 class SortXAxisTest : public CxxTest::TestSuite {
-    // This pair of boilerplate methods prevent the suite being created statically
+  // This pair of boilerplate methods prevent the suite being created statically
   // This means the constructor isn't called when running other tests
   static SortXAxisTest *createSuite() { return new SortXAxisTest(); }
   static void destroySuite(SortXAxisTest *suite) { delete suite; }
 
-  void testXAscending(){
-    std::vector<double> xData = {1,2,3};
-    std::vector<double> yData = {1,2,3};
-    std::vector<double> eData = {1,2,3};
+  void testXAscending() {
+    std::vector<double> xData = {1, 2, 3};
+    std::vector<double> yData = {1, 2, 3};
+    std::vector<double> eData = {1, 2, 3};
 
     MatrixWorkspace_sptr unsortedws = createWorkspace(xData, yData, eData);
 
@@ -42,26 +42,24 @@ class SortXAxisTest : public CxxTest::TestSuite {
     alg.setProperty("InputWorkspacd", "unsortedws");
     alg.setProperty("OutputWorkspace", "sortedws");
     alg.execute();
-    MatrixWorkspace_sptr sortedws = 
-
+    MatrixWorkspace_sptr sortedws =
   }
 
-  void testXDescending(){}
+  void testXDescending() {}
 
-  void testOnMultipleSpectrum(){}
+  void testOnMultipleSpectrum() {}
 
-  void testSortsXHistogramAscending(){}
+  void testSortsXHistogramAscending() {}
 
-  void testSortsXHistogramDescending(){}
+  void testSortsXHistogramDescending() {}
 
-  void testSortXWorksChild(){}
+  void testSortXWorksChild() {}
 
-  void testDxMultipleSpectrum(){}
+  void testDxMultipleSpectrum() {}
 
-  void testDxHistogramAscending(){}
+  void testDxHistogramAscending() {}
 
-  void testSortDescending(){}
+  void testSortDescending() {}
 };
 
-
 #endif /*MANTID_ALGORITHMS_SORTXAXISTEST_H_*/