range qsort and query with map