amandaphy
New Contributor II

Try using

all.equal
function.

It does not sort the dataframes but it checks each cell in

data frame
against the same cell in another one. You can also use
identical()
function.

I would like to share a link which may help to solve your problem https://goo.gl/pgLaEd