Big improvements to Archive sorting.

Signed-off-by: Difegue <sugoi@cock.li>