map fixed, sort and ajax not working