geany/geany — pull request #41 by b4n (2012-05-08 17:55:28+00:00)
Title: When not sorting the file list, don't preserve read order

If the caller doesn't want the list to be sorted, there is no need to
preserve the order in which the files were actually read, since that
order is undefined anyway.

This slightly "changes" the plugin API so maybe one wouldn't like it, but IMO since the order isn't guaranteed at any level anyway it should be harmless and would drop a then useless list reversal.