Fixed element sorting on config call