Agregar consulta de URL en js
const urlParams = new URLSearchParams(window.location.search);
urlParams.set('order', 'date');
window.location.search = urlParams;
Helpful Hyena