Has anyone been able to re-order content types for a list in code?
If I'm given a specific content type, I want to make it the default in a list, by re-ordering the SPList.ContentTypes collection and setting my content type to position 0.
I've tried making a new collection (SPContentTypeCollection), setting the order in a loop and replacing the SPList.ContentTypes, but unfortunately that property is read-only.
The SPBaseCollection (which is inherited by SPContentTypeCollection) is pretty darned limited when it comes to collection operations.