Added average to sliding percentiles
Bugfix: Sliding Percentiles was fully broken due to missing sort-array update