When we duplicate an actor, the iteration starts with 1, this causes the actor_1, actor_10 and actor_100 be sorted after each other. Please add some zeros in the iteration process such as:
actor_0001
actor_0002
.
.
.
actor_0009
actor_0010
.
.
.
actor_0099
actor_0100