SAP interview question

Given a string, return all prefixes in alphabetical order.