added underscore, sort function on buildings