changes to test to test the reordering function
file for testing reorder