The project was to create a way to sort Webform results as summaries. The user needed the ability to quickly analyze results from submitted forms by department using an overview. This approach is a bit less labor intensive than using Views or creating a module. The advantage is less time developing styles for content output via views.
For this we use a very handy function provided by the Webform module called webform_get_submission().

First we create a form with a little javascript to submit it.

<form method="post" id="filter_form" >
<select name="filter" id="filter" onChange="this.form.submit()">
    <option value="none"<?php if ($_POST['filter'] == 'none') $majors = "NULL"; ?>>Please Select</option>
    <option value="nofilter"<?php if ($_POST['filter'] == 'nofilter') $majors = "nofilter"; ?>>All Majors/Degrees</option>
    <option value="Subject 1"<?php if ($_POST['filter'] == 'Subject 1') $majors = "Subject 1"; ?>>Subject 1</option>
    <option value="Subject 2"<?php if ($_POST['filter'] == 'Subject 2') $majors = "Subject 2"; ?>>Subject 2</option>
    <option value="Subject 3"<?php if ($_POST['filter'] == 'Subject 3') $majors = "Subject 3"; ?>>Subject 3</option>
    <option value="Subject 4"<?php if ($_POST['filter'] == 'Subject 4') $majors = "Subject 4"; ?>>Subject 4</option>
    <option value="Other"<?php if ($_POST['filter'] == 'Other') $majors = "Other"; ?>>Other</option>
   </select>
</form>

To do the filtering of the results we only need to know what the NID of the webform is and then one database query will give us the Submission ID associated with that particular form.

/**  get all the submission IDs from all submissions which match the form type and are active status */    

$sql = "SELECT sid FROM {webform_submissions} WHERE nid = '4239'";
      $result = db_query($sql, array(':webform_submissions' => 'webform_submissions'));  // $result contains the actual query
		$nid = "4239"; // change this to match the NID of the webform being used 
 if ($_POST['filter'] != '') {
		print "<div id='leftCol'>";
		print "<h4>Student Submissions</h4><br>";
            while ($row = $result->fetchAssoc())  {
            $sid = $row['sid']; /** gets the sids (submission ids) from each submission which matches the query params */
			$data_answer = webform_get_submission($nid, $sid); 
			   if ($data_answer->data[21][0] == $majors) {
			   $firstname = $data_answer->data[1][0]; // gets the first name
			   $lastname = $data_answer->data[2][0]; // gets last name 
			   $major = $data_answer->data[21][0];  // gets the major
			   $full_sub_link = "<a href='/cms/node/4239/submission/" . $sid . "'>View</a>"; // makes a link to the full submission page
			   print "<div class='reportrow'>" . $firstname . "&nbsp;&nbsp;&nbsp;" . $lastname . "&nbsp;&nbsp;&nbsp;" . $major . "&nbsp;&nbsp;&nbsp;" . $full_sub_link . "</div>";
			   } else if ($majors == 'nofilter') { 
			     $firstname = $data_answer->data[1][0]; // gets the first name
			     $lastname = $data_answer->data[2][0]; // gets last name 
			     $major = $data_answer->data[21][0];  // gets the major
			     $full_sub_link = "<a href='/cms/node/4239/submission/" . $sid . "'>View</a>"; // makes a link to the full submission page
			     print "<div class='reportrow'>" . $firstname . "&nbsp;" . $lastname . "&nbsp;&nbsp;&nbsp;" . $major . "&nbsp;&nbsp;&nbsp;" . $full_sub_link . "</div>";
	
			   } // end the if else
			
			} //end the while
		print "</div>";	// end the leftCol div
		} //end the if

When the selection changes the form is submitted and when the page loads the script executes and performs the search and display. The output of the script is the first and last name of the applicant, their major and a link to the full results page for their Webform submission. This code would go in a page.tpl.php file where you wish the form and the subsequent results to be displayed. If you are deploying this type of code and you are getting a php error that reads something like Fatal error: Call to undefined function webform_get_submission(), please see this page:
https://www.drupal.org/node/1086812

All that is necessary is the following code in your script at the beginning somewhere:

module_load_include('inc', 'webform', 'includes/webform.submissions');