depends what i'm doing or what i'm wanting. i mean for basic things, like if the house is empty and i'm building the basics room by room then sort by room. i'll put the fridge, counters etc all together.
but when it comes to decorating and more intricate building or thinking of ideas of how to spruce the place up a bit then i sort by function, because it's easier to say.. click wall lights instead of ceiling lights etc