added comment for record sort order