Change order in cache clear