added reorder ouput with 5001 prune