sort layers by name, remove option emptyFirstLine