All kind of sort algorithm implementation.