sort between first, middle, or last number in sequence