Sort data definitions by label, if available
Resolves #3