Completed sort with errors