diff --git a/html/jrn_search.php b/html/jrn_search.php
index 0db743a19..a4e86f83d 100644
--- a/html/jrn_search.php
+++ b/html/jrn_search.php
@@ -131,7 +131,7 @@ if ( isset ($_POST["search"]) ) {
j_montant,j_poste,j_debit,j_tech_per,jr_id,jr_comment,j_grpt,pcm_lib,jr_internal from jrnx inner join
jrn on jr_grpt_id=j_grpt inner join tmp_pcmn on j_poste=pcm_val ".
" inner join user_sec_jrn on uj_jrn_id=j_jrn_def".
- $condition." order by jr_id,j_debit desc");
+ $condition." order by jr_date,jr_id,j_debit desc");
$MaxLine=pg_NumRows($Res);
if ( $MaxLine==0) {
diff --git a/include/user_common.php b/include/user_common.php
index c84e4c8cb..054693c25 100644
--- a/include/user_common.php
+++ b/include/user_common.php
@@ -246,7 +246,7 @@ function ListJrn($p_cn,$p_jrn,$p_where="",$p_array=null)
join jrn_def on jrn_def_id=jr_def_id
join parm_periode on p_id=jr_tech_per
$p_where
- order by jr_date_order desc";
+ order by jr_date_order asc";
}
if ( $p_array != null ) {
// Construction Query