maint: sort: remove the last uses of "'%s'" in diagnostics