add sort_query for look query time diff