Add sorting script to protoObjects array