Plone 5 Registry: Order of Javascript Rendering in development mode

Hi,
using the view 'resourceregistry-controlpanel' in 'development mode' and
enabled 'develop JS' i expect, the order of JS rendering is controlled by key="deps" within registry.xml:


++plone++foo.bar/resource-1.js


++plone++foo.bar/resource-2.js
foo-bar-resource-1

resource-1.js and resource-2.js make use of 'require'.
resource-2.js:
require([
'foo-bar-resource-1'
], function($, resource-1) {
...

My expectation regarding the order of JS rendering is:
...
resource-1.js
resoruce-2.js
...

But i get:
...
resource-2.js
resource-1.js
...

Using compilation the order of JS within the bundle is Ok.

Is my expectation wrong ? If so, how to order JS in 'development mode' and enabled 'develop JS' within the view 'resourceregistry-controlpanel'?

Regards, maha

I don't know if the answer is in here: https://training.plone.org/5/javascript/index.html