diff --git a/frontend/zetikettes.js b/frontend/zetikettes.js index fa8fc5e..25c97ab 100644 --- a/frontend/zetikettes.js +++ b/frontend/zetikettes.js @@ -82,7 +82,7 @@ $(document).ready(async () => { url: backend_api + 'list', timeout: 1000, }); - loadAll(resp.tikettes); + loadAll(resp.tikettes.sort((a, b) => (a.title < b.title) ? -1 : 1)); } catch(e) { const appbody = $("#appbody"); appbody.append(`
  • Could not reach backend server`);