Changed sort to length() when comparing the amex and nonAmex arrays