needed to sort the arrays when we checked the state filter, caused out of order multiple states not to show