Iframes

This is the first step to allowing incremental iframe creation and destruction. This should eliminate task failures when an iframe is added to the frame tree lazily via script.
I've been intrigued by this all morning, is there a way to configure vim (which I also use) to sort imports that are inside {} pairs and spread across multiple lines?