Sort API methods alphabetically

For easier maintenance