Front: Add comparator to sort files directories in file explorer