added solution for sorting algorithms