The comparison function was wrong. It only returned false if the
difference between the items was exactly 1! Caused assertion errors in
std::sort() with some sort field selections.
CRC comparisons were broken (signed/unsigned comparisons).
Comparison indices were broken by adding the release version and SDK
version fields in the wrong place.