% This file is embedded in glossaries-extra-manual.pdf 
% Example 138 Displaying unsorted glossaries with a copied list
% Label: "ex:unsrtcopygrp"
% arara: pdflatex
% arara: pdfcrop
\documentclass[12pt]{article}
\pagestyle{empty}
\usepackage[stylemods=bookindex,style=bookindex]{glossaries-extra}
\newglossaryentry{waterfowl}{name={waterfowl},description={}}
\newglossaryentry{ant}{name={ant},description={}}
\newglossaryentry{adder}{name={adder},description={}}
\newglossaryentry{duck}{name={duck},parent={waterfowl},description={}}
\newglossaryentry{zebra}{name={zebra},description={}}
\newglossaryentry{aardvark}{name={aardvark},description={}}
\newglossaryentry{gazelle}{name={gazelle},description={}}
\newglossaryentry{mallard}{name={mallard},parent={duck},description={}}


\newglossary*{another}{Another Glossary}
\glsxtrcopytoglossary{mallard}{another}
\glsxtrcopytoglossary{aardvark}{another}
\glsxtrcopytoglossary{zebra}{another}
\glsxtrcopytoglossary{ant}{another}
\glsxtrcopytoglossary{duck}{another} 
\begin{document}
\printunsrtglossary
\printunsrtglossary[type=another] 
\end{document}
