expand range, support sort/shuffle compressed list