added some sortAlgorithms implementations