I get the impression that the current algorithm simply sorts items from largest to smallest, totally ignoring the item type, because checking the item type would greatly complicate the code and lead to sorting failures (inability to fit all items) and slow sorting (could be orders of magnitude more sort comparisons).
But adding a step that alphabetically sorts the 1x1 items related to each other would be useful, and could be done as a post processing step after all 1x1 slot placements have been decided.