Use match_array over sort + equality.  Use eq over eql.

More #589