Ignore frameworks when reordering

Fix for issue #12