sort method

void sort()

Sorts the sequence set.

Use when the request assumes an ordered sequence of IDs or UIDs

Implementation

void sort() {
  _ids.sort();
  // Moves the `*` placeholder to the bottom
  if (_isLastAdded) {
    if (_ids.remove(_elementStar)) {
      _ids.add(_elementStar);
    }
    if (_ids.remove(_elementRangeStar)) {
      _ids.add(_elementRangeStar);
    }
  }
}