Reorder middleware execution hierarchy + comments