Disk Defragmentation Activity

The diagram below represents a fragmented hard disk.

Each coloured block is a fragment of a file. The grey blocks are unused blocks on the hard disk.

Drag the file blocks to create contiguous files. It does not matter which order your files are in, but each file's fragments must be in the correct order. There must not be any gaps between files.

AFile A (20)
BFile B (15)
CFile C (13)
DFile D (23)
EFile E (9)
Unused block
E1
E2
B1
A1
C1
E3
C2
D1
A2
D2
B2
B3
C3
A3
B4
D3
A4
B5
B6
B7
A5
B8
E4
A6
D4
D5
B9
A7
D6
D7
D8
D9
D10
D11
B10
A8
D12
C4
A9
B11
C5
D13
D14
C6
A10
D15
D16
A11
B12
A12
C7
A13
E5
B13
D17
E6
B14
E7
A14
C8
C9
A15
A16
C10
D18
C11
C12
A17
A18
E8
A19
D19
A20
D20
E9
D21
D22
C13
B15
D23