handling of  create_option Custom
fix for handling empty strings submitted by sort_by, mesh controller create action refactor