etcdserver: sort strings before comparing