Attorney Suhre's answer was spot-on. Further, it's not the judge's job to tell you to get an SR22 bond. It was your job to get insurance in the first place. The second call you should have made after contacting your attorney following your arrest ought to have been to your insurance agent.
The court does not order the SR-22, the BMV does. An SR-22 is required when you get caught driving without insurance. The results in what's known as a non-compliance suspension. You'll need to obtain an SR-22 and maintain it for the required length of time. The required length of time is determined by how many times in the past you've been caught driving without insurance. For a first time in 5-years, the SR-22 requirement is 3-years. You will also have to pay a reinstatement fee to the BMV.