How to fix code to display the records from the first to the last?

Hello. Design my php code displays the headers from the last 3 October and ending the first of the 1st of October. I need to change the sequence, i.e. start with the first and finish last. Please help to resolve the issue.
<?php
$args = array(
 'date_query' =--> array(
array(
 'after' => '2017-10-01',
 'before' => '2017-10-03',
 'inclusive' => true,
),
),
 'posts_per_page' => -1,
 'cat' => '2743',
);
$query = new WP_Query( $args );
while ( $query->have_posts() ) {
$query->the_post();
the_title();
}
?>
June 14th 19 at 20:31

Find more questions by tags PHP