Stable sorting for Dwarf Manipulator

I occasionally like to sort dwarves by two or more skills.  With a stable sort, this can be done by applying the less-important sort first, then the more important.  It also allows you to bunch all dwarves with any of a certain set of skills at the top of the screen.