598e664 list: refactor sorting composes to a separate method

Authored and Committed by ktdreyer 6 years ago
    list: refactor sorting composes to a separate method
    
    This sorting logic is useful enough to embed in other applications.
    Split up the "sorting" from the "printing", introducing a new
    sorted_ids() method that simply returns a list of sorted compose ID
    strings.
    
        
file modified
+12 -4