As you know, an album can contain many child albums and/or media objects. When GSP displays them, it sorts them in order of the Seq field that exists in both gs_Album and gs_MediaObject.
Each time you rearrange the items, GSP automatically assigns each object a Seq number starting with 1.
Therefore, each level of albums has Seq numbers starting with 1.
Hope this gives you enough info to be able to put together a SQL statement.
And fyi, earlier in this thread I said additional sorting options were scheduled for 2.3. Unfortunately, those have been pushed back to 2.4.
Roger Martin
Creator and Lead Developer of Gallery Server Pro