Make use of NSSortDescriptors.