fixed up map bar, added proper sorting