diff --git a/lib/Travelynx/Controller/Account.pm b/lib/Travelynx/Controller/Account.pm index 09aa81a648be80e9059ed15339e19feb9c63a68e..ec6a02f53a232b20efb058a16c8348e39f11aa84 100644 --- a/lib/Travelynx/Controller/Account.pm +++ b/lib/Travelynx/Controller/Account.pm @@ -1026,7 +1026,12 @@ sub backend_form { $backend->{type} = $type; } - @backends = grep { $_->{type} } @backends; + my $iris = shift @backends; + + @backends + = sort { $a->{name} cmp $b->{name} } grep { $_->{type} } @backends; + + unshift( @backends, $iris ); $self->render( 'select_backend',