fixed isExactSort detection in KItem