    public function getSorts(array $sortMap = array())
    {
        $sorts = array();

        foreach ($this->normalizeSorts($this->sorts) as $sort) {
            $sort = $this->extractSortProperty($sort);
            $sort = $this->mapSortProperty($sortMap, $sort[0], $sort[1]);

            if ($sort) {
                $sorts[] = $sort;
            }
        }

        return $sorts;
    }