added prettysorted=1 parameter...