https://www.study24x7.com/post/107963/we-must-arrange-the-data-before-calculating-0