Sort (or not) stdin using the bogo-sort algorithm