Which of the following pair of sorting algorithms are stable?

Which of the following pair of sorting algorithms are stable? Correct Answer gnome sort and merge sort

Gnome sort and merge sort are stable sorting algorithms as the elements with identical values appear in the same order in the output array as they were in the input array when any of these sorting algorithms are implemented.

Related Questions

Which of the following sorting algorithms is the fastest for sorting small arrays?
Statement 1: Shell sort is a stable sorting algorithm. Statement 2: Shell sort is an in-place sorting algorithm.