Created a sortable directive to share the markup between content and media and got media sorting done too.