### Bug Description This is related to an issue found on mujoco_warp: https://github.com/google-deepmind/mujoco_warp/issues/458 I could track it to the bitonic sort. The issue is however non-deterministic and I could not get a minimal repro. ### System Information _No response_