("SELECT lpart, expire, recip, comment
FROM odin_mailredir WHERE dom = ? AND owner = ?" .
(defined $cond ? " AND $cond" : "") . " " .
- "ORDER BY expire", undef, $dom, $owner, @args)};
+ "ORDER BY expire, lpart", undef, $dom, $owner, @args)};
}
sub clear_redir_reservations ($) {