SoCtronics Interview Question

write the logic of bubble sort in 3-D array?