SbloodyS commented on code in PR #10754:
URL: https://github.com/apache/dolphinscheduler/pull/10754#discussion_r912589745


##########
dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/ProcessInstanceMapper.xml:
##########
@@ -44,7 +44,7 @@
         <foreach collection="states" item="i" open="(" close=")" separator=",">
             #{i}
         </foreach>
-        order by id asc
+        order by process_instance_priority, id asc

Review Comment:
   I'm not quite sure if this is nessnary to do this.
   
   I think we can provide users with a sort item, which is similar to excel and 
gives users free choice.
   
   WDYT? @zhuxt2015 @zhongjiajie @caishunfeng 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to