https://issues.dlang.org/show_bug.cgi?id=12913
--- Comment #3 from monarchdo...@gmail.com --- If you need to have a specific stack/queue, you should really be using the insertFront/insertBack and removeFront/removeBack functions. "insert" and "removeAny" are meant as "implementation defined", and actual behavior can vary from container to container. --