There is extensive documentation that hyperref must be loaded towards the end. In particular, the following is the correct loading order for these specific packages:
\usepackage{float}
\usepackage{hyperref}
\usepackage{algorithm}
Now, I have a slight complication. I am using the minted package with the option newfloat=true, i.e. using the newfloat package.
Does the loading order recommendation remain the same?, i.e.
\usepackage[newfloat=true]{minted} % <-- Replacement for the float package?
\usepackage{hyperref}
\usepackage{algorithm}
or should I also additionally load the float package? (This doesn't sound right to me.)
newfloatauthor is a strong contributor here) may take notice and answer this in the future. Thank you for your sustained efforts in providing a helpful and concise answer. – Dr Krishnakumar Gopalakrishnan Jun 08 '18 at 21:05