What is the way to control alignment of subfloats (by content or by subcaption)? Some memoir or \xpatchcmd hack maybe?
MWE (slight modification of Hyperref not jumping to the appropriate location for memoir's subbottom):
% !TeX program = pdflatex
\listfiles
\documentclass[a4paper,14pt,oneside,openany]{memoir}
\usepackage{graphicx}
\usepackage{hyperref}
%\usepackage[all]{hypcap}
\newsubfloat{figure} % allows to use "subbottom"
\begin{document}
This link jumps to the figure caption: \ref{fig:1}.
This link jumps to the picture (the way I like): \ref{sf:11}.
This link should jump to the picture: \ref{sf:12}. % Same with \subcaptionref{sf:12}.
This link should jump to the picture: \subcaptionref{sf:13}. % Same with \ref{sf:13}.
This link jumps to the picture (the way I like): \ref{sf:14}.
This link should jump to the picture: \ref{sf:15}.
\begin{figure}
\centerfloat{
% \hfill % uncommenting this line makes link to sf:11 jump to incorrect vertical position as well. Why?
\subbottom[Subfigure 1\label{sf:11}]{\includegraphics[width=0.35\linewidth]{example-image-a}}
\hfill
\subbottom[Subfigure 2\label{sf:12}]{\includegraphics[width=0.25\linewidth]{example-image-b}}
\hfill
\subbottom[\label{sf:13}Subfigure 3 multilined caption]{\includegraphics[width=0.25\linewidth]{example-image-c}}
\\
\subbottom[Subfigure 4\label{sf:14} multilined caption]{\includegraphics[width=0.33\linewidth]{example-image-b}}
\hfill
\subbottom[\label{sf:15}Subfigure 5]{\includegraphics[width=0.3\linewidth]{example-image-a}}
}
\legend{Some legend. This text is here to add more space for multilining.
This text is here to add more space for multilining.}
\caption{Figure with five subfigures\label{fig:1}}
\end{figure}
\clearpage
Now check subtops.
This link jumps to the figure caption: \ref{fig:2}.
This link jumps to the top of the subcaption (the way I like): \ref{sf:21}.
This link should jump to the top of the subcaption: \ref{sf:22}. % Same with \subcaptionref{sf:12}.
This link should jump to the top of the subcaption: \subcaptionref{sf:23}. % Same with \ref{sf:13}.
This link jumps to the top of the subcaption (the way I like): \ref{sf:24}.
This link should jump to the top of the subcaption: \ref{sf:25}.
\begin{figure}
\centerfloat{
% \hfill % uncommenting this line makes link to sf:11 jump to incorrect vertical position as well. Why?
\subtop[Subfigure 1\label{sf:21}]{\includegraphics[width=0.35\linewidth]{example-image-a}}
\hfill
\subtop[Subfigure 2\label{sf:22}]{\includegraphics[width=0.25\linewidth]{example-image-b}}
\hfill
\subtop[\label{sf:23}Subfigure 3 multilined caption]{\includegraphics[width=0.25\linewidth]{example-image-c}}
\\
\subtop[Subfigure 4\label{sf:24} multilined caption]{\includegraphics[width=0.33\linewidth]{example-image-b}}
\hfill
\subtop[\label{sf:25}Subfigure 5]{\includegraphics[width=0.3\linewidth]{example-image-a}}
}
\legend{Some legend. This text is here to add more space for multilining.
This text is here to add more space for multilining.}
\caption{Figure with five subfigures\label{fig:2}}
\end{figure}
\clearpage
This text is here to add more space for scrolling.
\end{document}
Subbottom result (TL2019 updated on 2020-01-18, Memoir v3.7j) — aligned by bottom of subcaptions (but i would like it to be the bottom of figures):

Subtop result (TL2019 updated on 2020-01-18, Memoir v3.7j) — aligned by bottom of figures (but i would like it to be the top of subcaptions or maybe the top of figures):

Subbottom result (TL2018 fully updated, Memoir v3.7h) — seems like correct subbottom alignment:

Subtop result (TL2018 fully updated, Memoir v3.7h) — seems like good subtop alignment:

It would be great if there is a workaround that will work for both versions of memoir (together with \xpatchcmd solution for hyperref linking from https://tex.stackexchange.com/a/466515).
vspacein caption or content part with no success. – Leonid Feb 15 '20 at 10:47captionpackage and its support packages for subfloats. He added this to his TODO list and will have a look at it when time permits. Maybe adding some bounty to question helps? – Leonid Feb 15 '20 at 10:56captionpackage and friends. Stuff like this leads to alignment nightmares especially when you also have to combine it with hyperref targets. The caption package and its friends have already solved this problem. I maintain memoir and regularly use caption withmemoiras it has more features than whatmemoirwill ever support out of the box. – daleif Feb 15 '20 at 13:11