Loosely matching rhymes for sort-merge program