use an explicit level list to avoid sorting issues