Made the VecSortInsert method-local to readExternal in QueryResult