Basic reporting data structure and algorithm working with sorting and formatting.