do not reorder signatures from derived and base types

fixes #374