CHAR truncates to 1 character in PostgresSQL so use VARCHAR
Merge pull request #2 from MerchantsBonding/fix_date_sorting_in_postgressql

CHAR truncates to 1 character in PostgresSQL so use VARCHAR