add coctail sort on PHP [list-sort]