CB-6377 Handle spaces in paths for cmd related scripts
CB-6382 platform list: sort output

github: close #156