Energy levels and level ordering in the WKB approximation