Index: temp/test-xoops.ec-cube.net/html/test/kakinaka/topic_list.php
===================================================================
--- temp/test-xoops.ec-cube.net/html/test/kakinaka/topic_list.php	(revision 1040)
+++ temp/test-xoops.ec-cube.net/html/test/kakinaka/topic_list.php	(revision 1041)
@@ -2,5 +2,5 @@
 include '../../mainfile.php';
 
-$sql = 'SELECT topic_id, topic_title, topic_response FROM ' . $xoopsDB->prefix('bb_topics');
+$sql = 'SELECT topic_id, topic_title, topic_response FROM ' . $xoopsDB->prefix('bb_topics') . 'ORDER BY topic_response, topic_id';
 
 if ( !$result = $xoopsDB->query($sql) ) {
