Select all before first break
This will work for the special case:

SELECT *
FROM your_table 
WHERE sort &lt; (SELECT MIN(t.sort) 
              FROM your_table AS t
              LEFT JOIN your_table AS t2
                  ON t.sort = t2.sort+1 
              WHERE t2.sort IS NULL
                AND t.sort &gt; (SELECT MIN(sort) FROM your_table))