--- apachesolr_ubercart.bak	2013-08-20 18:33:37.151901597 +0100
+++ apachesolr_ubercart.module	2013-08-20 18:32:33.584901688 +0100
@@ -278,6 +278,7 @@ function apachesolr_ubercart_price_facet
       $from_price = ($price_range * $division);
       $context = array('revision' => 'formatted', 'type' => 'product');
       $output_from_price = uc_price($from_price, $context);
+      $sortpre = $from_price;
 
       //patched from issue #845152 making double facet items impossible
       $to_price = (($price_range * $division) + $division) - 0.01;
@@ -315,7 +316,7 @@ function apachesolr_ubercart_price_facet
 
     // Unless a facet is active only display 2 or more.
     if ($items && ($response->response->numFound > 1 || $contains_active)) {
-      ksort($items, SORT_STRING);
+      ksort($items, SORT_NUMERIC);
       // Get information needed by the rest of the blocks about limits.
       $initial_limits = variable_get('apachesolr_facet_query_initial_limits', array());
       $limit = isset($initial_limits[$module][$delta]) ? $initial_limits[$module][$delta] : variable_get('apachesolr_facet_query_initial_limit_default', 10);
