diff --git a/plugins/wporg-5ftf/includes/pledge.php b/plugins/wporg-5ftf/includes/pledge.php
index 453a14e..21ed3b3 100755
--- a/plugins/wporg-5ftf/includes/pledge.php
+++ b/plugins/wporg-5ftf/includes/pledge.php
@@ -435,6 +435,12 @@ function filter_query( $query ) {
$query->set( 'order', 'DESC' );
break;
+ case 'contributors':
+ $query->set( 'meta_key', $contributor_count_key );
+ $query->set( 'orderby', 'meta_value_num' );
+ $query->set( 'order', 'DESC' );
+ break;
+
default:
$date = date( 'YmdH' );
$query->set( 'orderby', "RAND($date)" );
diff --git a/themes/wporg-5ftf/archive-5ftf_pledge.php b/themes/wporg-5ftf/archive-5ftf_pledge.php
index ec27fac..1b9db42 100644
--- a/themes/wporg-5ftf/archive-5ftf_pledge.php
+++ b/themes/wporg-5ftf/archive-5ftf_pledge.php
@@ -37,6 +37,9 @@ get_header(); ?>
+