That is fully intelligible but does not sound exactly correct to me. In this particular case, direct substitution of "of the order of" does not seem to work, but you could say "in some cases comparisons of the order of milliseconds were made" (note: no "the")