I think what u need is Z order plugin
It is available even to the free edition i think
It makes all the sprites in the current layer to arrange along Z based on the X and Y coordinates
So when the origin of a sprite is at position Y-100 for example, all sprites that are Y<100 will be placed behind that sprite and all that are Y>100 will go over it
Hope it helps