0005382: during sorting the article of a categorie with the timestamp, the shop builds a SQL query with an error (cherry picked from commit c0dbd90)