TIL: you can't sort a read-only array in JS, because `Array.sort` sorts in-place. Also lodash's `_.sort` uses `Array.sort` internally and tries to sort the read-only array.
TIL: you can't sort a read-only array in JS, because Array.sort sorts in-place. Also lodash's _.sort uses Array.sort internally and tries to sort the read-only array.