Judge Col. Samuel McDowell is currently listed as Col. Samuel McDowell, Judge, since he is both Colonel and a Judge. I don't know if both titles will fit in the prefix box. Col. Samuel McDowell, Judge sounded better to me than Judge Samuel McDowell, Colonel. The military rank should come first.
There are many other examples of persons with two prefixes. Sir Admiral?