Make sort test work as intended
Make sort test work as intended

`Array.prototype.sort` updates the array in place, and so this test
was previously equivalent to `array === array`. This patch makes the
test work as intended!

Bug: chromium:1032561
Change-Id: I3702c0ca9b06359df33d915a65e59a2495fb64d2
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2003324
Auto-Submit: Mathias Bynens <17a2cbc4e33156874a9862b0f530521117e66a3d@chromium.org>
Commit-Queue: Tim van der Lippe <dba8716ee7f8d16236046f74d2167cb94410f6ed@chromium.org>
Reviewed-by: Tim van der Lippe <dba8716ee7f8d16236046f74d2167cb94410f6ed@chromium.org>

ChromeDevTools/devtools-frontend,ChromeDevTools/devtools-frontend,ChromeDevTools/devtools-frontend,ChromeDevTools/devtools-frontend,ChromeDevTools/devtools-frontend,ChromeDevTools/devtools-frontend