fixed consume_record save sorting