sort_armor() rewrite - part 2