print "$_->[0]
$_->[1]
$_->[2]
" foreach (sort {$a->[1] cmp $b->[1]} @ODB);