Is there a way to make tables and figures appear in the same TOC, in order of appearance in the document, but numbered separately? Exactly like this post, but with the tables and figures mixed together in order of page number? I know this sounds odd, but I have an application that specifically requires this format.
EDIT: Thanks to Jagath, the main issue is solved. However, this has upset the formatting a little. To use his MWE:
\documentclass{article}
\usepackage{lipsum,tocloft}
\makeatletter
\newcommand{\listfloatname}{List of Floats}
\newlistof{float}{flt}{\listfloatname}
\long\def\@caption#1[#2]#3{%
\par
\refstepcounter{float}%
\addcontentsline{\csname ext@#1\endcsname}{#1}%
{\protect\numberline{\csname the#1\endcsname}{\ignorespaces #2}}%
\addcontentsline{flt}{float}%
{\protect\numberline{\csname thefloat\endcsname}{\ignorespaces #2}}%
\begingroup
\@parboxrestore
\if@minipage
\@setminipage
\fi
\normalsize
\@makecaption{\csname fnum@#1\endcsname}{\ignorespaces #3}\par
\endgroup}
\makeatother
% my formatting
\renewcommand{\cfttabfont}{Table }
\renewcommand{\cftfigfont}{Figure }
\renewcommand{\cfttabaftersnum}{:}
\renewcommand{\cftfigaftersnum}{:}
\begin{document}
\listoffloat
\listoftables
\listoffigures
\newpage
\lipsum[1]
\begin{figure}
\caption{First figure.}
\end{figure}
\begin{table}[h]
\caption{First table.}
\end{table}
\lipsum[1]
\begin{figure}[h]
\caption{Second figure.}
\end{figure}
\lipsum[1]
\begin{table}
\caption{Second table.}[h]
\end{table}
\lipsum[1]
\end{document}