added Sort algorithm functions