support custom sort method for object keys
Currently there is only one sortKeys property to control automatic sorting, but I hope it can be specified manually
@janryWang can you give an example of how you want to be able to sort differently?
I have a similar requirement for my usage, not yet high priority, but I expect I'll get around to it eventually.
In my case I have a named set of 'states' (think board game phases of a turn) which I'd like consistently ordered.
I expect if I need to develop things myself, I'd pass in an array of strings as a new parameter 'customSortOrder'. If a key is in the array, it gets sorted according to its array position, else it gets placed behind fields which appear in the array.
From my current experience playing with the codebase I don't expect it'd be too hard, if someone wanted to get their toes wet with it.