Parse the file with an esprima-based Worker thread; sort identifiers by scope and position; sort properties by position.