Cyril Brulebois (26/09/2008):
> it'd be nice if the references on the identifier search results page
> could be sorted also by lines and not only by files. Please find
> attached a patch to do so.

And another one to do the same on the Declarations as well.

Cheers,
-- 
Cyril Brulebois
diff --git a/ident b/ident
index 2c0a3f1..c167e72 100755
--- a/ident
+++ b/ident
@@ -54,7 +54,7 @@ sub refexpand {
 	my $file_hits = 0;
 	my $last_file;
 	my $def;
-	foreach my $def (@refs) {
+	foreach my $def (sort { $$a[0] cmp $$b[0] || $$a[1] <=> $$b[1] } @refs) {
 		my ($file, $line, $type, $rel) = @$def;
 		$file_hits++ if $file ne $last_file;
 		$last_file = $file;

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to