Add interface for the sorting algorithms