fix archive listing sort