50) { return 1; } else { return -1; } } uksort($footnoteTargets, 'cmpfunc'); foreach ($footnoteTargets as $target) { print "[$target] $target $target $target\r\n"; }