Restored sorting for reports, added numeric and date sorting handles to PGNumber and PGDate
Merging 1.4 from github