{
  "$type": "site.standard.document",
  "bskyPostRef": {
    "cid": "bafyreifyqlf7jrmesrhyhtqpqqjtgb4j3kgnp7fjuq2iolvslp4eb56edq",
    "uri": "at://did:plc:ivbknywyskln22er3nkssdhl/app.bsky.feed.post/3mjilnehizns2"
  },
  "path": "/t/t-sort-by-index-and-t-sort-by-key-and-index/24172#post_3",
  "publishedAt": "2026-04-14T15:21:51.000Z",
  "site": "https://internals.rust-lang.org",
  "textContent": "Why? You can just subtract pointers and pass the index to caller, isn't it?",
  "title": "`<[T]>::sort_by_index` and `<[T]>::sort_by_key_and_index`"
}