Select by index and sort

is there a way to get sorted data from namespace without full scan? I mean can aerospike to store many records (tens of millions) in sorted order, or provide any special iterator by index, like tarantool. Or it have only one way, full scan with UDF filter/map/reduce? Maybe some complex indices or special index types or some thing else? P/S after filter by secondary index I have ten million records, I need to get only first 1000K sorted by priority, scan millions to get a 1000K I think it bad idea. Before I use LDT but now it is deprecated. Can anyone help to find a correct way?