Added nested sorting example