note
Enlil
Another way to do it might be to just run the output of the sort through another filter like so:
<code>
my %seen;
my @sortthetutors =
grep { !$seen{$_->{tutorsID}}++ }
sort { $a->{tmiles} <=> $b->{tmiles} } @tutorsdata;
</code>
-enlil
832402
832402