sharedcontent: enforce ordering by template-code (slug)