Fix sort order for content and media element shortcodes