fix sort on scheck