you give 0indexed integer array nums target element targetA target index index numsi targetReturn list target index num sort num nondecrease order if target index return list the return list sort increase order Example 1input num 12523 target 2Output 12Explanation after sort num 12235the index numsi 2 1 2example 2input num 12523 target 3output 3explanation after sort num 12235the index numsi 3 3example 3input num 12523 target 5output 4explanation after sort num 12235the index numsi 5 4 constraints1 numslength 1001 numsi target 100