added sort algorithms - not working