Sort:  

calva1:heads
calva1:Tails
result:Tails

@calva1:heads
@calva:Tails
result:Tails