add improved coctail sort on PHP [list-sort]