Keep inserted instances ordered.