sorted the dwarf bit into a list