Index: trunk/ippTools/src/detselect.c
===================================================================
--- trunk/ippTools/src/detselect.c	(revision 36543)
+++ trunk/ippTools/src/detselect.c	(revision 36544)
@@ -275,5 +275,5 @@
     // the latest insertion date
 
-    psStringAppend(&query, " ORDER BY registered DESC, iteration DESC, time_begin, time_end");
+    psStringAppend(&query, " ORDER BY registered DESC, iteration DESC");
 
     if (!p_psDBRunQuery(config->dbh, query)) {
