In my opinion, it can be done either way if you are installing base trim. Personally I would texture the ceiling first, then install flooring, paint walls and then install base trim. Thats just the usual order I was taught to work in.
"Quality isn't expensive, It's Priceless!" By unknown.
South Carolina contractor