Index: apachesolr.module
===================================================================
--- apachesolr.module	(revision 744)
+++ apachesolr.module	(working copy)
@@ -638,7 +638,7 @@
               $new_query->set_solrsort($type == "relevancy" ? '' : "{$type} {$new_sort}");
               $active = isset($solrsorts[$type]) || ($type == "relevancy" && !$solrsorts);
               $direction = isset($solrsorts[$type]) ? $solrsorts[$type] : '';
-              $sort_links[] = theme('apachesolr_sort_link', $sort['name'], $path, $new_query->get_url_querystring(), $active, $direction);
+              $sort_links[$type] = theme('apachesolr_sort_link', $sort['name'], $path, $new_query->get_url_querystring(), $active, $direction);
             }
             return array('subject' => t('Sort by'),
                          'content' => theme('apachesolr_sort_list', $sort_links));
