Java programming exercise: experimental validation of the complexity of sorting algorithms