Sort arrays before assert_equal