now set also break the indices_sorted_ command
added more tests Fixed basically the problem of unsorted indices that was giving an error