Fix ordering of sweep recording