diff --git a/Data/JSON2.hs b/Data/JSON2.hs
--- a/Data/JSON2.hs
+++ b/Data/JSON2.hs
@@ -1,4 +1,6 @@
-{-# Language TypeSynonymInstances, FlexibleInstances, IncoherentInstances #-}
+{-# LANGUAGE TypeSynonymInstances, FlexibleInstances, IncoherentInstances #-}
+{-# LANGUAGE DeriveDataTypeable #-}
+
 module Data.JSON2
   (
    -- * Data types and classes
@@ -18,6 +20,7 @@
 import Data.List
 import qualified Data.Map as Map
 import Data.Ratio
+import Data.Typeable (Typeable)
 
 infixr 6 ==>
 
@@ -28,7 +31,7 @@
 	  | JBool Bool
 	  | JNull
 	  | JArray [Json]
-	  | JObject (Map.Map String Json) deriving (Eq, Show, Read)
+	  | JObject (Map.Map String Json) deriving (Eq, Ord, Typeable, Show, Read)
 
 type Jsons = [Json]
 
diff --git a/json2.cabal b/json2.cabal
--- a/json2.cabal
+++ b/json2.cabal
@@ -1,5 +1,5 @@
 Name:                json2
-Version:             0.2.3
+Version:             0.3
 Synopsis:            This library provides support for JSON. 
 Category:            Data, Text, JSON
 Description:         This library provides support for JSON.
