rearragne in this order arrival time then graph then name then departure


<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Schedule with Timeline</title>
<link rel="stylesheet" href="https://unpkg.com/tailwindcss@^2/dist/tailwind.min.css">
<style>
  @import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

  .timeline {
    display: flex;
    flex-direction: column;
    position: relative;
  }
  .timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    border-left: 4px solid #4C51BF;
    z-index: 1;
  }
  .station {
    position: relative;
    margin: 10px 0px;
    display: flex;
    align-items: center;
  }
  .station::before {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    background-color: #fff;
    border: 4px solid #4C51BF;
    border-radius: 50%;
    left: 50%;
    transform: translateX(-40%);
    z-index: 2;
  }
  .station-time {
    padding: 5px 10px;
    background-color: #4C51BF;
    color: #fff;
    border-radius: 12px;
    white-space: nowrap;
    z-index: 3;
  }
  .station-name {
    padding: 5px 0;
    flex-grow: 1;
    text-align: right;
    padding-left: 20px; 
  }
  .time-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    z-index: 3;
    padding-right: 20px;
    width: 200px;
  }

  .header-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-weight: bold;
  }
</style>
</head>
<body>
<div class="bg-gray-100 font-roboto">
  <div class="max-w-xl mx-auto py-12 px-4 sm:px-6 lg:px-2">
    <div class="mt-8">
      <div class="timeline">
        <div class="header-row">
          <div class="time-wrapper">
            <div>Arrival</div>
            <div>Departure</div>
          </div>
          <div>Station Name</div>
        </div>
        <!-- Repeat the station div for each station with updated structure -->
        <div class="station">
          <div class="time-wrapper">
            <div class="station-time">7:22 AM</div>
            <div class="station-time">7:23 AM</div>
          </div>
          <div class="station-name">Thampanoor - Main Bus Stand</div>
        </div>
        <div class="station">
          <div class="time-wrapper">
            <div class="station-time">7:22 AM</div>
            <div class="station-time">7:23 AM</div>
          </div>
          <div class="station-name">Thampanoor - Main Bus Stand</div>
        </div>
        <div class="station">
          <div class="time-wrapper">
            <div class="station-time">7:22 AM</div>
            <div class="station-time">7:23 AM</div>
          </div>
          <div class="station-name">Thampanoor - Main Bus Stand</div>
        </div>
        <div class="station">
          <div class="time-wrapper">
            <div class="station-time">7:22 AM</div>
            <div class="station-time">7:23 AM</div>
          </div>
          <div class="station-name">Thampanoor - Main Bus Stand</div>
        </div>
        <!-- Additional stations go here -->
        <!-- … -->
      </div>
    </div>
  </div>
</div>
</body>
</html>