Fix bug in example sort.
Fix bug in example sort.

Embarrassing bug causes sort to explode if there are any duplicated
elements. Closes SI-4961, no review.


lrytz/scala,martijnhoekstra/scala,scala/scala,martijnhoekstra/scala,slothspot/scala,martijnhoekstra/scala,felixmulder/scala,lrytz/scala,martijnhoekstra/scala,slothspot/scala,slothspot/scala,slothspot/scala,scala/scala,lrytz/scala,lrytz/scala,shimib/scala,scala/scala,lrytz/scala,felixmulder/scala,martijnhoekstra/scala,martijnhoekstra/scala,shimib/scala,jvican/scala,shimib/scala,felixmulder/scala,scala/scala,felixmulder/scala,lrytz/scala,slothspot/scala,jvican/scala,jvican/scala,slothspot/scala,jvican/scala,jvican/scala,shimib/scala,felixmulder/scala,scala/scala,jvican/scala,jvican/scala,scala/scala,felixmulder/scala,felixmulder/scala,shimib/scala,slothspot/scala,shimib/scala