chapter02 sortCompareString