« first day (3698 days earlier)      last day (1291 days later) » 

3:01 PM
I neither understand the downvote nor the close vote. I consider the question perfectly clear. The code example may not be strictly minimal, but the error is clear: always get "Is not sorted". So let’s not require the impossible of basic level programmers. — Ole V.V. 18 secs ago
 
 
7 hours later…
9:58 PM
@P__J__ Programmers like typing more, but somewhy they defined integer as int :) — Kaiyaha 45 secs ago
 

« first day (3698 days earlier)      last day (1291 days later) »