Update 'order' function regular expression