diff --git a/lib/veritas/relation/operation/order/direction.rb b/lib/veritas/relation/operation/order/direction.rb
index <HASH>..<HASH> 100644
--- a/lib/veritas/relation/operation/order/direction.rb
+++ b/lib/veritas/relation/operation/order/direction.rb
@@ -26,15 +26,15 @@ module Veritas
             self.class.reverse.new(attribute)
           end
 
+          def ==(other)
+            eql?(other)
+          end
+
           def eql?(other)
             instance_of?(other.class) &&
             attribute.eql?(other.attribute)
           end
 
-          def ==(other)
-            eql?(other)
-          end
-
           def hash
             attribute.hash
           end
Prefer #eql? and #hash definitions together in the source