I'd say your diet has a lot of room for improvement, not to mention i dont like the word "sometimes" in a diet. You want to lose fat or gain lbm you need to be accurate and consistent with the diet, also not all healthy foods are good for cutting either. Sleeping habit is not the issue, the issue is your diet.... Nutrition section is your friend at this point!!