brooklyncentral/brooklyn — pull request #1003 by sjcorbett (2013-11-07 19:04:07+00:00)
Title: Sort entities in the application tree by their ID

Keeps entities in the jsgui application tree sorted by their lowercase ID. Means elements keep the same position through page refreshes.

Would have preferred to sort by entity name but it isn't always available to the model. (If it _is_ accessible it will be very easy to switch - just change the sortKey var.)