Description of problem: Logs in "Instance Log" field in "Instance Details" panel are ordered by date. But if those logs (NodeInstanceLog) have the same timestamp, they are displayed in random order. It could be solved by 'ORDER BY log.date DESC, log.id DESC'. Version-Release number of selected component (if applicable): 6.0.0 ER7 Steps to Reproduce: 1. Create simple bpmn process(StartNode-->ScriptTask-->EndNode) 2. Build and deploy package. 3. Go to "Process Management"-->"Process Definitions" and start process instance 4. Check the "Instance Log" in "Instance Details" panel. Actual results: The same timestamp logs are displayed in random order. Expected results: The same timestamp logs are ordered by id (DESC).
Created attachment 846001 [details] JBoss_BPM_Suite_Business_central.png Screenshot of the issue
Sent a pull request: https://github.com/droolsjbpm/jbpm/pull/187
Fixed in 6.0.x : http://github.com/droolsjbpm/jbpm/compare/20883cf...b16a827
Verified on 6.0.1.ER2.
Created attachment 871152 [details] Fixed ordering screenshot.