Answer
Label each subject with a unique number between 0001 and 5024 according to alphabetical order. Start at line 114 of table B:
Select 4514, Ignore 9329, Ignore 9275, Ignore 7306, Ignore 6280
Select 0381, Ignore 9562, Select 0202, Ignore 9387, Select 0915
Ignore 6104, Select 1776
So first 5 subjects will be
4514, 0381, 0202, 0915, 1776
Work Step by Step
As given in answer