Fixes implicit resort routine