Removed Debug statements
Sorting brick list