I think we can just call <code>sort</code> on both and check?