demo unordered and ordered sequences