Sort DisplayNode objects only when we have to

This change avoids sorting DisplayNode objects in a draw bin when we can add a DisplayNode object to the bin without sorting them. It also sorts draw bins only when we have to.