/**
* @author enkrates
* @covers Jetpack::sort_modules
* @since 3.2
*/
public function test_sort_modules_with_different_sort_values()
{
$first_file = array('sort' => 10);
$second_file = array('sort' => 5);
$sort_value = Jetpack::sort_modules($first_file, $second_file);
$reversed_sort_value = Jetpack::sort_modules($second_file, $first_file);
$this->assertEquals(1, $sort_value);
$this->assertEquals(-1, $reversed_sort_value);
}