How to save reorder items locally?

Hi! can someone teach me how to save the reorder items locally via html or webview it seems that it doesnt save the new order when the html or view is refresh or reloaded