Add enumerator and normal stable_sort