Gator Documentation:
Order
For single-source cone searches, the rows will be returned in order of distance from the requested position. For other single-source search regions or all-sky searches via the web interface, there is no particular order, but the output table has sorting capability (by clicking on the column name).
For the program interface mode with single-source or all-sky searches, a parameter "order=(column_name)" may be used to order the rows by that column (in ascending order).
For table upload, the service orders by distance from each source.
.