DFHack/dfhack — pull request #365 by eswald (2014-10-22 04:54:10+00:00)
Title: 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.