diff --git a/kafka-eagle-web/src/main/java/org/smartloli/kafka/eagle/web/dao/MBeanDao.xml b/kafka-eagle-web/src/main/java/org/smartloli/kafka/eagle/web/dao/MBeanDao.xml
index 4dc777c7..a16de7a6 100644
--- a/kafka-eagle-web/src/main/java/org/smartloli/kafka/eagle/web/dao/MBeanDao.xml
+++ b/kafka-eagle-web/src/main/java/org/smartloli/kafka/eagle/web/dao/MBeanDao.xml
@@ -109,7 +109,7 @@
select `difflogsize`,`diffoffsets`,`lag`,`timespan`
from ke_consumer_bscreen
where `cluster`=#{cluster} and `group`=#{group} and `topic`=#{topic}
- and tm between #{stime} and #{etime}
+ and tm between #{stime} and #{etime} order by `timespan`
-
\ No newline at end of file
+
diff --git a/kafka-eagle-web/src/main/java/org/smartloli/kafka/eagle/web/dao/TopicDao.xml b/kafka-eagle-web/src/main/java/org/smartloli/kafka/eagle/web/dao/TopicDao.xml
index c5785370..181547d6 100644
--- a/kafka-eagle-web/src/main/java/org/smartloli/kafka/eagle/web/dao/TopicDao.xml
+++ b/kafka-eagle-web/src/main/java/org/smartloli/kafka/eagle/web/dao/TopicDao.xml
@@ -145,7 +145,7 @@