Restored sorting for reports, added numeric and date sorting handles to PGNumber and PGDate

--HG--
extra : source : 917ba3871f1417e87b2a99bc23ee715a2e6c9c0d
Merging master from github