sorts week config hash on setter

to avoid failure on the algorithm, working_hours setter sorts the hash.