Placed pieces in solution changed to Set
Replacing sorting keys with predefined order lists.