[corlib] Fix Array.Sort throwing when fewer keys than items are provided