validate sort elements on build

pull out case property validation so these can be done analogously