Block 4 Library sorting