fixes a result caching issue while reorder sorting