Bug fix: BasicStatistics did not sort data when instantiated with dataset constructor. Therefore median, percentiles etc. were incorrect.  This has now been fixed