sort alphabetically for maintainability
add support for basic custom sorting