Forgotten fix from previous commit on sortedArrayUsingFunction warnings