I would like to create right aligned tableofcontents in Beamer but subsection and subsubsection aren't fit for right to left aligned!
current output:
desired output:

% !TEX TS-program = xelatex
\documentclass{beamer}
\begin{document}
\section{yes it's fine}
\subsection{I have some problem}
\subsubsection{why?}
\begin{frame}
\raggedleft\tableofcontents
\end{frame}
\end{document}

yes, sub(sub)sections must be intended on the right.
yes, it must use in an RTL language.
No, currently I'm not using any theme all of the code is in above.
– David Tex Jan 03 '19 at 15:50