Order dependencies by groupId.