Added natcasesort() and $sort_flag