Sort gem dependencies by name