{
"$type": "site.standard.document",
"bskyPostRef": {
"cid": "bafyreifn45vauh23jhvaxahfmeyt6ocx45htpelgukpvklcuwzd4zpoiw4",
"uri": "at://did:plc:ivbknywyskln22er3nkssdhl/app.bsky.feed.post/3mjhrvhaar672"
},
"path": "/t/t-sort-by-index-and-t-sort-by-key-and-index/24172#post_2",
"publishedAt": "2026-04-14T15:09:19.000Z",
"site": "https://internals.rust-lang.org",
"textContent": "Any implementation of this needs to allocate a temporary vector of indices and sort that. There is no reasonable way of doing this in place.",
"title": "`<[T]>::sort_by_index` and `<[T]>::sort_by_key_and_index`"
}