Project folder structure no longer in alphabetical order?

Until recently when I opened my folder structure it always displayed in alphabetical order. It recently changed to a random order and I can see no way of getting it back. Has anyone seen this or have a fix for it? Thanks