diff --git a/automotive-cse.cabal b/automotive-cse.cabal
--- a/automotive-cse.cabal
+++ b/automotive-cse.cabal
@@ -1,6 +1,6 @@
 
 name:                automotive-cse
-version:             0.1.0.0
+version:             0.1.1.0
 synopsis:            Automotive CSE emulation
 description:         This package includes Cryptography Security Engine (CSE)
                      codec emulation for automotive things.
diff --git a/src/Codec/Automotive/CSE.hs b/src/Codec/Automotive/CSE.hs
--- a/src/Codec/Automotive/CSE.hs
+++ b/src/Codec/Automotive/CSE.hs
@@ -148,7 +148,7 @@
 makeK4 = kdfMac
 
 
-newtype UID = UID ByteString deriving Eq
+newtype UID = UID ByteString deriving (Eq, Ord)
 
 instance Show UID where
   show (UID s) = unwords ["UID", hdump s]
