#299 sort issues