sorted RWADef definition's resources and representations (https://github.com/restlet/apispark/issues/1296)