you don't have to merge layers at all
when you save it as a jpg, or png, or anything other than the programs own file format, it will just save it the way you see it.
so, really, just.. sketch layer, lineart layer, color layer.
you can even make a folder for all the color layers, and make one for skin, one for hair, one for clothes... etc.
good luck