add the algorithms of sort