diff --git a/hw-uri.cabal b/hw-uri.cabal
--- a/hw-uri.cabal
+++ b/hw-uri.cabal
@@ -1,7 +1,7 @@
 cabal-version:          2.4
 
 name:                   hw-uri
-version:                0.2.0.1
+version:                0.2.1.0
 synopsis:               Supports IO on URIs
 description:            Supports IO on URIs.
 homepage:               https://github.com/haskell-works/hw-uri
diff --git a/src/HaskellWorks/Data/Uri/Location.hs b/src/HaskellWorks/Data/Uri/Location.hs
--- a/src/HaskellWorks/Data/Uri/Location.hs
+++ b/src/HaskellWorks/Data/Uri/Location.hs
@@ -55,7 +55,7 @@
   = S3 S3Uri
   | Local FilePath
   | HttpUri Text
-  deriving (Show, Eq, Generic, NFData)
+  deriving (Show, Ord, Eq, Generic, NFData)
 
 instance ToJSON Location where
   toJSON v = case v of
