diff --git a/data.views.inc b/data.views.inc
index 995f73a..41b24d6 100644
--- a/data.views.inc
+++ b/data.views.inc
@@ -141,7 +141,7 @@ function data_get_views_handler_options($type = NULL, $reset
             $finished = FALSE;
             while (!$finished) {
               $current_handler = get_parent_class($current_handler);
-              if ($current_handler == 'views_handler') {
+              if ($current_handler == 'views_handler' || 'views_handler_sort'  
                 // We've reached the top; don't add the root class to the list.
                 $finished = TRUE;
               }