For my paper at university, in the bibliography, I need to raise the edition’s number to the left of the year, like here (where Auflage = edition):

Until now, I’ve got the following:
\documentclass[a4paper, 12pt]{scrreprt}
\usepackage[utf8]{inputenc}
\usepackage[french, ngerman]{babel}
\usepackage[T1]{fontenc}
\usepackage[autostyle]{csquotes}
\usepackage[backend=biber, style=ext-authoryear, innamebeforetitle=true, innameidem=true, maxcitenames=2, dashed=false]{biblatex}
\DefineBibliographyExtras{french}{\restorecommand\mkbibnamefamily}
\DeclareNameAlias{sortname}{family-given}
\DeclareNameAlias{ineditor}{sortname}
\DeclareDelimFormat[bib]{multinamedelim}{\addspace\slash\space}
\DeclareDelimAlias*[bib]{finalnamedelim}{multinamedelim}
\DeclareFieldFormat{editortype}{\mkbibparens{#1}}
\DeclareDelimFormat{editortypedelim}{\addspace}
\DeclareFieldAlias{translatortype}{editortype}
\DeclareDelimAlias{translatortypedelim}{editortypedelim}
\DeclareDelimFormat[bib]{nametitledelim}{\adddot\space}
\DeclareDelimFormat{multinamedelim}{\slash}
\DeclareDelimFormat{finalnamedelim}{\slash}
\renewbibmacro*{in:}{%
\setunit{\addcomma\space}%
\bibstring{in}%
\printunit{\intitlepunct}}
\renewbibmacro{volume+number+eid}{%
\printfield{volume}%
\setunit{\addnbthinspace}%
\printfield{number}%
\setunit{\addcomma\space}%
\printfield{eid}}
\DeclareFieldFormat[article]{number}{\mkbibparens{#1}}
\urlstyle{same}
\DeclareFieldFormat{url}{URL: <\url{#1}>}
\DeclareFieldFormat{urldate}{\mkbibbrackets{#1}}
\DefineBibliographyStrings{german}{
editor = {Hrsg\adddot},
editors = {Hrsg\adddot},
}
\DeclareFieldFormat{edition}{\textsuperscript{#1}}
\begin{filecontents}{literatur.bib}
@incollection{Baldinger,
author = {Baldinger, Kurt},
title = {Semasiologie und Onomasiologie},
booktitle = {2. Teilband},
publisher = {De Gruyter Mouton},
year = {2008},
editor = {Posner, Roland and Robering, Klaus and Sebeok, Thomas},
edition = 3
}
\end{filecontents}
\bibliography{literatur}
\begin{document}
\cite{Baldinger}
\printbibliography
\end{document}
I’ve already consulted some posts from a German stackexchange but somehow, by following their examples, I only reach to a raised edition number at the wrong position. But I need it raised right before the year.
Could you help me?
