Skip to content
Snippets Groups Projects
Commit df811a53 authored by Pierre-Jean CHANCELLIER's avatar Pierre-Jean CHANCELLIER
Browse files

sorts entrances and exists alphabetically

parent 3e5a30ef
No related branches found
No related tags found
No related merge requests found
...@@ -73,6 +73,10 @@ export default { ...@@ -73,6 +73,10 @@ export default {
result['sorties'].push(member.id) result['sorties'].push(member.id)
} }
} }
for (let list in result) {
result[list].sort((a, b) => (a.uid.toLowerCase() > b.uid.toLowerCase()) ? 1 : -1)
}
return result return result
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment