Added partial sort example