From dc29eb2bf4826fe232fb4143b1221208d02871ea Mon Sep 17 00:00:00 2001
From: Dan Nixon <dan@dan-nixon.com>
Date: Wed, 25 Mar 2015 16:18:34 +0000
Subject: [PATCH] Order sample logs ascending by name by default

Refs #11427
---
 Code/Mantid/MantidPlot/src/Mantid/MantidSampleLogDialog.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Code/Mantid/MantidPlot/src/Mantid/MantidSampleLogDialog.cpp b/Code/Mantid/MantidPlot/src/Mantid/MantidSampleLogDialog.cpp
index fb7636c0e76..343c6551c41 100644
--- a/Code/Mantid/MantidPlot/src/Mantid/MantidSampleLogDialog.cpp
+++ b/Code/Mantid/MantidPlot/src/Mantid/MantidSampleLogDialog.cpp
@@ -462,6 +462,7 @@ void MantidSampleLogDialog::init()
   m_tree->header()->resizeSection(3, 90); //units column
   m_tree->header()->setMovable(false);
   m_tree->setSortingEnabled(true);
+  m_tree->sortByColumn(0, Qt::AscendingOrder);
 }
 
 
-- 
GitLab