diff --git a/src/Pluf/Paginator.php b/src/Pluf/Paginator.php
index 031d749..af8f116 100644
--- a/src/Pluf/Paginator.php
+++ b/src/Pluf/Paginator.php
@@ -614,7 +614,8 @@ class Pluf_Paginator
$durl = $this->getUrl($params);
$desc = ''.__('desc').'';
if (strlen($title)) {
- if ($this->sort_order[0] == $field
+ if (count($this->sort_order) == 2
+ and $this->sort_order[0] == $field
and $this->sort_order[1] == 'ASC') {
return ''.$title.'';
}