Fix an issue with comment sorting.