Preserving order using a syncrhonized array buffer.