Layers are out of order in the preview?

I’ve been having problems with my layers. For some reason, it won’t let me reorder them properly and will only let me reorder certain layers to a limited degree, and in the camera view certain layers are appearing above others when they aren’t ordered that way in the layers tab. is there perhaps a preference that I might have messed with or something like that?