Yes you can rip your CDs to your B3 and play them randomly. From the B3 controls there are several way of doing this
1) Press the "NEXT" button and this will start random play. The B3 will start playing its contents (at the music track/file level) in random order to any wired speakers attached to it.
2) One can select an Artist or an Album (CD), start it playing and then select the Web UI random play button and it will play randomly within that selection to any wired speakers attached to it.
3) Once can create a playlist and start it playing and then select the Web UI random play button and it will play randomly within that playlist to any wired speakers attached to it.
With outputting to Sonos speakers however, it is best to think of things happening in two modes.
Mode One - music is being PUSHED to Sonos from the B3
In this mode all the above (1) will work after one selects a Sonos Speaker as output . BUT the B3 can send 20 randomised Tracks to Sonos if you press the NEXT button (the B2 must be paused when doing this).
With (2) and (3), to play in a random order you need to select Random on the Sonos app.
Mode Two - music is being PULLED from the B3 to the Sonos.
The Sonos will also play music it knows about in random order, therefore, if you index the B3 music as a Sonos music library (using the B3 as a NAS) you can use the Sonos App to play this music to your Sonos speakers in Random mode.
In Mode One the communication between the B3 and the Sonos SYSTEM is programmatic, using an API published by Sonos. This API does not provide for all the functionality seen in the Sonos App and therefore has limitations.
When using Sonos and a Brennan you are using two completely different computer systems that are co-operating, not a complete black box designed by a single manufacturer.
Note too that the Sonos SYSTEM (way of dealing with music) uses embedded (into the music files) metadata tags to sort the music and build the Sonos App user interface. The Brennan system does not need or use metadata tags to provide its user interface (it does ADD some minimal metadata tags to the music files if you ask it to compress your music). This means that in respect of an indexed B3 music library, the indexing is minimal - (it does work but you need to look at the library as a file system) - if all you want is random play this should not matter to you.
Also note, it is possible to add metadata to Brennan music files, the Brennan will not mind, it just ignores this.