Practice on sorting alogrithims