access vector with a range
tests for DF sort