Sort sections according to their sortorder