# -*- coding: utf-8 -*-
import glob
import os

from flask import current_app

def load_markdown_slides():
    """
    Search the slide pages in the current directory, loading them in
    alphabetical order as a list of strings.

    The slide pages must be on markdown format having ".md" extension

    :return: a list of strings with the slides content
    """

    slides = []

    for file in glob.glob(os.path.join(current_app.config.get('CURRENT_DIR'), '*.md')):
        with open(file, 'r') as sb:
            slides.append(sb.read())

    return slides
@@ -374,16 +374,18 @@
 s = %5B%5D%0A%0A
+%0A%0A
     for 
@@ -392,16 +392,23 @@
 file in 
+sorted(
 glob.glo
@@ -469,16 +469,17 @@
 '*.md'))
+)
 :%0A      

fix slides ordering