What will my fainting mean?

During one of my visit to the office of the institution where I had applied for a job and was taking a series of interviews, I fainted as I got out of the public transport van. It was for a second only though but had I collapsed there on the ground, it would have been a concern. Where did this come from? Is it my irregular sleep patterns or the extra energy I put into my jogging?