--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/nagios-plugins-contrib/sort_results.patch Mon Jan 13 11:48:15 2014 +0100
@@ -0,0 +1,46 @@
+--- a/check_lm_sensors/src/check_lm_sensors
++++ b/check_lm_sensors/src/check_lm_sensors
+@@ -501,8 +501,9 @@ if ($sensors) {
+ # perform checks
+
+ # old style checks
+-while ( ( $name, $limits ) = each %checks ) {
++for $name ( sort keys %checks ) {
+
++ $limits = $checks{$name};
+ $converted_name = $name;
+ $converted_name =~ s/_/\ /gmx;
+
+@@ -541,8 +542,9 @@ while ( ( $name, $limits ) = each %checks ) {
+ }
+
+ # lows
+-while ( ( $name, $limits ) = each %lows ) {
++for $name ( sort keys %lows ) {
+
++ $limits = $lows{$name};
+ $converted_name = $name;
+ $converted_name =~ s/_/\ /gmx;
+
+@@ -575,8 +577,9 @@ while ( ( $name, $limits ) = each %lows ) {
+ }
+
+ # highs
+-while ( ( $name, $limits ) = each %highs ) {
++for $name ( sort keys %highs ) {
+
++ $limits = $highs{$name};
+ $converted_name = $name;
+ $converted_name =~ s/_/\ /gmx;
+
+@@ -610,8 +613,9 @@ while ( ( $name, $limits ) = each %highs ) {
+ }
+
+ # ranges
+-while ( ( $name, $limits ) = each %ranges ) {
++for $name ( sort keys %ranges ) {
+
++ $limits = $ranges{$name};
+ $converted_name = $name;
+ $converted_name =~ s/_/\ /gmx;
+