The order was 1) consulting, 2) FogBugz, 3) CityDesk. FogBugz was a side project that grew into a successful product, CityDesk was the first intentional product but it was not successful.
"I've been rather quiet lately on this weblog -- mainly because we've been working so hard at Fog Creek getting ready for the beta of CityDesk, our flagship product."
I have been reading Joel on software for quite a long time, I remember reading that fogbugz was just their home-grown brug tracking system, not intended to be a real "product" at the beggining.
I also remember how Joel used to argue that citydesk would win because no one would like to write a blog using a web interface...