fixing order on archive page