J.P. Morgan interview question

Given a string, sort its words