Added default return value to sort.