You should validate the order as well. Turn it into list and compare the list.