Call reset in sort