better sort example