<?php
$posts = array(
	$array[0] = array(
		"title" => "A",
		"url" => "http://c...content-available-to-author-only...m.com/a"
	),
	$array[1] = array(
		"title" => "G",
		"url" => "http://c...content-available-to-author-only...m.com/g"
	),
	$array[2] = array(
		"title" => "C",
		"url" => "http://c...content-available-to-author-only...m.com/c"
	),
	$array[3] = array(
		"title" => "B",
		"url" => "http://c...content-available-to-author-only...m.com/b"
	),
	$array[4] = array(
		"title" => "J",
		"url" => "http://c...content-available-to-author-only...m.com/j"
	),
);

ksort($posts);
sort($posts);

$actual_title = "C";
$actual_link = "http://com.сom/c";

foreach($posts as $post) {
	echo $post['title']."<br>\n";
}
			
echo "\n<pre>";
print_r($posts);
echo "</pre>";

/*
Хочу получить это, если $actual_title = "C";
G<br>
J<br>
A<br>
B<br>

*/
?>