@tasks.register_helper<EOL>def get_ordered_feature_list(info_object, feature_list):
feature_dependencies = json.load(open(info_object.feature_order_json))<EOL>feature_selection = [feature for feature in [feature.strip().replace('<STR_LIT:\n>', '<STR_LIT>') for feature in feature_list]<EOL>if len(feature) > <NUM_LIT:0> and not feature.startswith('<STR_LIT:_>') and not feature.startswith('<STR_LIT:#>')]<EOL>return [feature + '<STR_LIT:\n>' for feature in feaquencer.get_total_order(feature_selection, feature_dependencies)]<EOL>
Orders the passed feature list by the given, json-formatted feature
dependency file using feaquencer's topsort algorithm.
:param feature_list:
:param info_object:
:return: