---
title: "comparison function"
type: concept
source: https://www.jemoka.com/posts/kbhcomparison_function/
confidence: high
status: active
---

return &lt; 0 if first value should come before second value return &gt; 0 if first value should come AFTEr second value 0 if the first and second value are equivalent
