Don't rely on GHashTable order remaining consistent
-
utils: Add a variant of GHashTableIter that can sort by key
This will be helpful if we want to make log files or other output more easily comparable when there are items that appear in arbitrary order.
Helps: steamrt/tasks#187
-
tests: Test sorted GHashTable iteration
-
graphics: Sort tables of Vulkan functions lexicographically
Previously, we used hash table order, which is in principle non-deterministic (although GLib's string hash function hasn't changed for a long time, so our tests were in fact accidentally relying on a consistent hash table order).
Split out from !505 (merged) to get a more bite-sized branch, because most of !505 (merged) is just debuggability, but this subset of it is arguably a bug fix.