Sort machine info result and add command line flags