sort artifact list by shard number, then by target portals