earlier I asked how to rotate a page with a sidewaysfigure inside (question here). However I couldn't find a solution. I decided to use the landscape environment with afterpage, but when there's other floats near to the rotated one, the appearing order is altered.
In the following MWE, I expected to get the first page full of text, then the rotated figure, and finally the text and floats remaining.
How can I solve it?
\documentclass[12pt,a4paper]{article}
\usepackage{blindtext}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{pdflscape}
\usepackage{afterpage}
\usepackage{rotating}
\usepackage{graphics, graphicx}
\begin{document}
\blindtext\par%
%
\afterpage{%
\begin{landscape}
\begin{figure}[h]
\centering
\includegraphics[width=0.7\linewidth]{example-image-a}
\caption{Figure a}
\label{Fig:a}
\end{figure}%
\end{landscape}
\clearpage%
}%
%
\blindtext\par%
%
\begin{figure}[h]
\centering
\includegraphics[width=0.7\linewidth]{example-image-b}
\caption{Figure b}
\label{Fig:b}
\end{figure}
%
\Blindtext\par%
%
\begin{figure}[h]
\centering
\includegraphics[width=0.7\linewidth]{example-image-c}
\caption{Figure c}
\label{Fig:c}
\end{figure}
\end{document}

[h]ereas you used the optional arguemt to prevent all other options so that forces it to appear in the text, and figure a you forced to come after that by using\afterpageso I can't see what other order you would expect? – David Carlisle Feb 17 '19 at 18:28afterpage– Daniel Valencia C. Feb 17 '19 at 19:32\afterpageis just an internal definition it is not interpreted at all so the first figure that tex sees is B, then A is only seen after the afterpage tokens are inserted at the start of the next page. – David Carlisle Feb 17 '19 at 19:58