bug found: unsorted_array is filled with older elements in init-method