title: Programmatically change the tab order
body: <p>How do I programmatically reorder the tabs in a <code>TabControl</code>? I need to sort the tabs depending on some conditions.</p>
  
  <p>If it's possible to do the reordering through the designer, i guess we must be able to do it through code at runtime too.</p>