EditSafely

Sort Time Intervals

Sort clock-time intervals by their start or by their length. Runs entirely in your browser, so your data never leaves your device.

0 chars · 0 lines

Output

The result appears here as you type.

Options

How to use Sort Time Intervals

  1. 1. Paste your time ranges. Paste one time range per line into the input pane, such as '14:00:00-15:30:00', in whatever order you collected them.
  2. 2. Choose what to sort by. Pick Start time to order ranges by when they begin, or Length to order them by how long each range runs, from shortest to longest or the reverse.
  3. 3. Pick the order and copy the result. Choose Ascending or Descending, then copy the sorted list. Switching between Start time and Length reorders the ranges by a completely different criterion.

When to use Sort Time Intervals

Sort Time Intervals orders a list of clock-time ranges either by when each one starts or by how long it runs, which is a sort a plain time sorter cannot do. It is for lists of ranges rather than single times.

  • Ordering meeting slots chronologically for a day view. A list of meeting times was compiled from several calendar invites in no particular order. Sort by Start time to get an accurate view of the day's schedule.
  • Finding the longest meeting on a busy day. You want to spot the single longest block on a packed schedule to see where the day's real time commitment goes. Sort by Length descending and read the top range.
  • Prioritizing short tasks ahead of long ones in a to-do list. A time-blocked to-do list works better when quick tasks appear first so they can be knocked out between longer blocks. Sort by Length ascending to surface them.
  • Auditing a rota for overlapping shift times. Before checking a set of shift times for conflicts, it helps to first view them sorted by start time so overlapping ranges are easy to spot by eye.

Examples

Sort by start time

Input

14:00:00-15:30:00
09:00:00-09:15:00
11:00:00-13:00:00

Output

09:00:00-09:15:00
11:00:00-13:00:00
14:00:00-15:30:00

About the Sort Time Intervals tool

Sort Time Intervals does its work locally, right in the browser. Sort clock-time intervals by their start or by their length. There is no upload step, no queue and no account, and your data never travels over the network.

It belongs to the Time Tools collection on EditSafely, a set of 90 small, focused Time utilities that share the same instant, private workspace.

You can shape the output with 2 settings, including Sort by and Order, and the result refreshes the moment you change one. A worked example further down the page shows exactly what the tool produces for a real input.

Running locally also makes the tool fast and dependable: results appear as you type or drop a file, there is no server outage that can take it down mid-task, and confidential data can be processed without a second thought.

Frequently asked questions

Does Sort Time Intervals cost anything?

Yes, it is completely free. All 2,658 tools on EditSafely work without an account, a subscription or usage limits.

Is it safe to paste sensitive or confidential data?

No data leaves your device. The whole tool is JavaScript that runs inside your browser tab, so there is no upload, no server-side processing and no log of what you did. If you disconnect from the internet after the page loads, it keeps working.

How much text can I process at once?

There is no fixed limit. Because the work happens on your own device rather than on a shared server, the practical ceiling is your machine's memory, which comfortably handles inputs far larger than typical online tools allow.

Do I need to sign up or install anything?

Nothing to install and no account needed. Open the page in any up-to-date browser, including on a phone or tablet, and the tool is ready.

How do I use the result?

The output panel has a one-click copy button, and you can keep refining the input while you work; the result updates in place as you type.

Related tools

All Time Tools