ParentFull threadericdfoley·This has always been an issue with sorting float arrays that contain NaN in C or C++ (e.g. with std::sort() with the default "<" comparator.)View on HN