Hold the implementation for all kinds of sorting algorithm