Upgraded sorting filter to cover all non-alphanumeric characters