allow search to take an attribute list
compare sorted replacement values