Anyway, as a general solution (for any range IDs) you can use a common table expression (CTE) query as follows:
WITH groupings AS (
SELECT
id,
NTILE(3) OVER (ORDER BY id) as group_number
FROM your_table_name
)
SELECT id
FROM groupings
ORDER BY group_number DESC, id ASC
NTILE takes a value for the number of groups you wanted to create, these will be numbered 1 - n which can then be used for sorting.
Staudenmeir's Laravel-CTE package is available to integrate into your Eloquent model(s) if you prefer to avoid writing a raw SQL query in your application.