Because I have many equations in my document and most of them do not need to be referred to, I always use \begin{align*}...\end{align*}
. For the times I do need an equation number I have written a command
\newcommand{\nr}{\addtocounter{equation}{1}\tag{\theequation}}
This works great, only cleveref does not sort it. An example
\documentclass{article}
\usepackage{amsmath,cleveref}
\newcommand{\nr}{\addtocounter{equation}{1}\tag{\theequation}}
\begin{document}
\begin{align*}
foo \nr\label{eq1}\\
bar \nr\label{eq2}
\end{align*}
\cref{eq2,eq1}
\end{document}
This outputs "eqs. (2) and (1)" instead of "eqs. (1) and (2)". Is there a way to fix this?