diff --git a/Framework/Algorithms/src/SortXAxis2.cpp b/Framework/Algorithms/src/SortXAxis2.cpp index 21183fa1e5d9d9f77dce1b1f29656ffc6a23f30c..6747920f126908444e32506fecda4933c042e366 100644 --- a/Framework/Algorithms/src/SortXAxis2.cpp +++ b/Framework/Algorithms/src/SortXAxis2.cpp @@ -72,17 +72,17 @@ void SortXAxis::sortIndicesByX(std::vector<std::size_t> &workspaceIndicies, MatrixWorkspace_const_sptr inputWorkspace, unsigned int specNum) { if (order == "Ascending") { - std::sort(workspaceIndicies.begin(), workspaceIndicies.end(), - [&](std::size_t lhs, std::size_t rhs) -> bool { - return inputWorkspace->x(specNum)[lhs] < - inputWorkspace->x(specNum)[rhs]; - }); + std::sort(workspaceIndicies.begin(), workspaceIndicies.end(), + [&](std::size_t lhs, std::size_t rhs) -> bool { + return inputWorkspace->x(specNum)[lhs] < + inputWorkspace->x(specNum)[rhs]; + }); } else if (order == "Descending") { std::sort(workspaceIndicies.begin(), workspaceIndicies.end(), - [&](std::size_t lhs, std::size_t rhs) -> bool { - return inputWorkspace->x(specNum)[lhs] > - inputWorkspace->x(specNum)[rhs]; - }); + [&](std::size_t lhs, std::size_t rhs) -> bool { + return inputWorkspace->x(specNum)[lhs] > + inputWorkspace->x(specNum)[rhs]; + }); } }