Error in querySort aborted: