title: dropwizard-guice: Order of Managed objects
body: <p>I have two classes <code>Foo</code> and <code>Bar</code> which implements <code>Managed</code>.<br>
  I am using 'dropwizard-guice' with <code>enableAutoConfig</code> (<a href="https://github.com/HubSpot/dropwizard-guice#auto-configuration" rel="nofollow">Dropwizard Guice</a>) to automatically add bundles and managed objects. But AutoConfig adds the managed objects in random order.</p>
  
  <p>But in my case, I am injecting singleton <code>Foo</code> instance to <code>Bar</code> and I always want <code>Foo</code> to be created and added first and <code>Foo</code> to be destroyed after <code>Bar</code>. Is there a way to achieve the required ordering ?</p>