drawing by order of layer names
drawing by order of layer name and id
switch from qSort to std::sort
Avoid translating numeric, patch by Sergey Alyoshin