# 3.5. Playing in order or at random

You can select the order in which songs will be played . When you select `In order mode` from the `Collections` menu, songs will be played in the same order in which they were added to the collection . When you select `Shuffle mode`, KMid will generate a random variable with a discrete uniform distribution to really play randomly the songs in the collection . It will give values to that random variable while generating the list in which order the songs will be played (you surely want to play random songs, but don't wwant to play twice the same song, and you want to play the last played song when you press on the 'Previous Song' button, don't you ? :-) ).

The random list in which the collection will be played will be regenerated each time you add or remove a file in the active collection, and when you press on the `Shuffle mode` entry of the menu.