The default order between folder and test object is order by ASCII code, so in some case, a folder is in the middle between two object, please refer the below pic.
We can change the default order, folders in the top and other objects in the bottom.