Portage/Dependency/Normalize.hs: add 'sort_deps' pass

It is able to sort use flags of the following form:
    b? ( a? ( foo ) ) -> a? ( b? ( foo ) )

Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>