diff options
| -rw-r--r-- | lib/Travelynx/Controller/Account.pm | 7 | 
1 files changed, 6 insertions, 1 deletions
| diff --git a/lib/Travelynx/Controller/Account.pm b/lib/Travelynx/Controller/Account.pm index 09aa81a..ec6a02f 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', | 
