Add sort to hash attrs being converted to command line options as some systems return in different order, failing test suite