Sort:  

The thing is to make a depth map where white is the nearest and black is farthest away.

Like this:

Not that difficult with the ball-pen drawings.