fix sort by names