Fix crash when list is empty
Keep items in ANY_MELT_DESIGNATED vector in id order
Merge remote-tracking branch 'remotes/origin/master' into DFHack-r4