Added date ordered key builder to controls.js