Compare configurations array using a string comparator

Fixes #2.