New instances inside reorder.

Added the functionality to allow new instances to be added with the
older sorted ones.

For example in my case I wanted A B C to become B C D, so I reorder B C
and add D.