func (b Board) sortedUnusedTiles() []tile.Tile {
	unusedTiles := make([]tile.Tile, 0, len(b.UnusedTiles))
	for _, id := range b.UnusedTileIDs {
		t := b.UnusedTiles[id]
		unusedTiles = append(unusedTiles, t)
	}
	return unusedTiles
}
// sortedUnusedTiles returns a new array of the unused tiles, sorted by the UnusedTileIDs array.
sortedUnusedTiles returns a new array of the unused tiles, sorted by the UnusedTileIDs array.
// sortedUnusedTiles returns a new array of the unused tiles sorted by the UnusedTileIDs array .
func (b Board) sortedUnusedTiles() []tile.Tile {
	unusedTiles := make([]tile.Tile, 0, len(b.UnusedTiles))
	for _, id := range b.UnusedTileIDs {
		t := b.UnusedTiles[id]
		unusedTiles = append(unusedTiles, t)
	}
	return unusedTiles
}
func ( b Board ) sortedUnusedTiles ( ) [ ] tile . Tile { unusedTiles := make ( [ ] tile . Tile , 0 , len ( b . UnusedTiles ) ) for _ , id := range b . UnusedTileIDs { t := b . UnusedTiles [ id ] unusedTiles = append ( unusedTiles , t ) } return unusedTiles }
sortedUnusedTiles returns a new array of the unused tiles, sorted by the UnusedTileIDs array.
sortedUnusedTiles returns a new array of the unused tiles sorted by the UnusedTileIDs array .